Home
last modified time | relevance | path

Searched refs:framesOut (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libeffects/preprocessing/
DPreProcessing.cpp123 size_t framesOut; // number of frames in output buffer member
991 session->framesOut = 0; in Session_SetConfig()
1119 session->framesOut = 0; in Session_SetProcEnabled()
1234 if (session->framesOut) { in PreProcessingFx_Process()
1235 size_t fr = session->framesOut; in PreProcessingFx_Process()
1244 (session->framesOut - fr) * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1245 session->framesOut -= fr; in PreProcessingFx_Process()
1338 if (session->outBufSize < session->framesOut + session->frameCount) { in PreProcessingFx_Process()
1340 session->outBufSize = session->framesOut + session->frameCount; in PreProcessingFx_Process()
1344 session->framesOut = 0; in PreProcessingFx_Process()
[all …]
/frameworks/av/services/audioflinger/
DThreads.cpp6448 size_t framesOut = activeTrack->mSink.frameCount; in threadLoop() local
6449 LOG_ALWAYS_FATAL_IF((status == OK) != (framesOut > 0)); in threadLoop()
6459 if (framesOut == 0 || framesIn == 0) { in threadLoop()
6467 framesOut = min(framesOut, in threadLoop()
6471 framesOut = activeTrack->mRecordBufferConverter->convert( in threadLoop()
6472 activeTrack->mSink.raw, activeTrack->mResamplerBufferProvider, framesOut); in threadLoop()
6474 if (framesOut > 0 && (overrun == OVERRUN_UNKNOWN)) { in threadLoop()
6479 if (framesOut > 0) { in threadLoop()
6480 activeTrack->mSink.frameCount = framesOut; in threadLoop()
6486 activeTrack->mFramesToDrop -= framesOut; in threadLoop()
[all …]