Home
last modified time | relevance | path

Searched refs:framesToProcess (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libaaudio/src/flowgraph/
DSourceFloat.cpp34 int32_t framesToProcess = std::min(numFrames, framesLeft); in onProcess() local
35 int32_t numSamples = framesToProcess * channelCount; in onProcess()
40 mFrameIndex += framesToProcess; in onProcess()
41 return framesToProcess; in onProcess()
DSourceI16.cpp38 int32_t framesToProcess = std::min(numFrames, framesLeft); in onProcess() local
39 int32_t numSamples = framesToProcess * channelCount; in onProcess()
52 mFrameIndex += framesToProcess; in onProcess()
53 return framesToProcess; in onProcess()
DSourceI24.cpp40 int32_t framesToProcess = std::min(numFrames, framesLeft); in onProcess() local
41 int32_t numSamples = framesToProcess * channelCount; in onProcess()
63 mFrameIndex += framesToProcess; in onProcess()
64 return framesToProcess; in onProcess()
DMonoToMultiConverter.cpp32 int32_t framesToProcess = input.pullData(framePosition, numFrames); in onProcess() local
38 for (int i = 0; i < framesToProcess; i++) { in onProcess()
45 return framesToProcess; in onProcess()
DClipToRange.cpp30 int32_t framesToProcess = input.pullData(framePosition, numFrames); in onProcess() local
34 int32_t numSamples = framesToProcess * output.getSamplesPerFrame(); in onProcess()
39 return framesToProcess; in onProcess()
DRampLinear.cpp47 int32_t framesToProcess = input.pullData(framePosition, numFrames); in onProcess() local
63 int32_t framesLeft = framesToProcess; in onProcess()
84 return framesToProcess; in onProcess()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalCapture.cpp172 int32_t framesToProcess = framesLeft; in readNowWithConversion() local
176 if (framesToProcess > framesAvailable) { in readNowWithConversion()
177 framesToProcess = framesAvailable; in readNowWithConversion()
180 const int32_t numBytes = getBytesPerFrame() * framesToProcess; in readNowWithConversion()
181 const int32_t numSamples = framesToProcess * getSamplesPerFrame(); in readNowWithConversion()
206 framesLeft -= framesToProcess; in readNowWithConversion()