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()
1236 if (session->framesOut) { in PreProcessingFx_Process()
1237 size_t fr = session->framesOut; in PreProcessingFx_Process()
1246 (session->framesOut - fr) * session->outChannelCount * sizeof(int16_t)); in PreProcessingFx_Process()
1247 session->framesOut -= fr; in PreProcessingFx_Process()
1340 if (session->outBufSize < session->framesOut + session->frameCount) { in PreProcessingFx_Process()
1342 session->outBufSize = session->framesOut + session->frameCount; in PreProcessingFx_Process()
1346 session->framesOut = 0; in PreProcessingFx_Process()
[all …]
/frameworks/av/services/audioflinger/
DThreads.cpp6125 size_t framesOut = activeTrack->mSink.frameCount; in threadLoop() local
6126 LOG_ALWAYS_FATAL_IF((status == OK) != (framesOut > 0)); in threadLoop()
6136 if (framesOut == 0 || framesIn == 0) { in threadLoop()
6144 framesOut = min(framesOut, in threadLoop()
6148 framesOut = activeTrack->mRecordBufferConverter->convert( in threadLoop()
6149 activeTrack->mSink.raw, activeTrack->mResamplerBufferProvider, framesOut); in threadLoop()
6151 if (framesOut > 0 && (overrun == OVERRUN_UNKNOWN)) { in threadLoop()
6156 if (framesOut > 0) { in threadLoop()
6157 activeTrack->mSink.frameCount = framesOut; in threadLoop()
6163 activeTrack->mFramesToDrop -= framesOut; in threadLoop()
[all …]