/frameworks/av/media/libaaudio/src/flowgraph/ |
D | SinkFloat.cpp | 32 int32_t framesLeft = numFrames; in read() local 33 while (framesLeft > 0) { in read() 35 int32_t framesPulled = pullData(framesLeft); in read() 43 framesLeft -= framesPulled; in read() 45 return numFrames - framesLeft; in read()
|
D | SinkI32.cpp | 34 int32_t framesLeft = numFrames; in read() local 35 while (framesLeft > 0) { in read() 37 int32_t framesRead = pullData(framesLeft); in read() 52 framesLeft -= framesRead; in read() 54 return numFrames - framesLeft; in read()
|
D | SinkI16.cpp | 35 int32_t framesLeft = numFrames; in read() local 36 while (framesLeft > 0) { in read() 38 int32_t framesRead = pullData(framesLeft); in read() 54 framesLeft -= framesRead; in read() 56 return numFrames - framesLeft; in read()
|
D | SinkI24.cpp | 37 int32_t framesLeft = numFrames; in read() local 38 while (framesLeft > 0) { in read() 40 int32_t framesRead = pullData(framesLeft); in read() 63 framesLeft -= framesRead; in read() 65 return numFrames - framesLeft; in read()
|
D | SampleRateConverter.cpp | 53 int framesLeft = numFrames; in onProcess() local 54 while (framesLeft > 0) { in onProcess() 67 framesLeft--; in onProcess() 70 return numFrames - framesLeft; in onProcess()
|
D | RampLinear.cpp | 59 int32_t framesLeft = numFrames; in onProcess() local 62 int32_t framesToRamp = std::min(framesLeft, mRemaining); in onProcess() 63 framesLeft -= framesToRamp; in onProcess() 75 int32_t samplesLeft = framesLeft * channelCount; in onProcess()
|
D | SourceFloat.cpp | 32 const int32_t framesLeft = mSizeInFrames - mFrameIndex; in onProcess() local 33 const int32_t framesToProcess = std::min(numFrames, framesLeft); in onProcess()
|
D | SourceI16.cpp | 37 int32_t framesLeft = mSizeInFrames - mFrameIndex; in onProcess() local 38 int32_t framesToProcess = std::min(numFrames, framesLeft); in onProcess()
|
D | SourceI32.cpp | 37 const int32_t framesLeft = mSizeInFrames - mFrameIndex; in onProcess() local 38 const int32_t framesToProcess = std::min(numFrames, framesLeft); in onProcess()
|
D | SourceI24.cpp | 39 int32_t framesLeft = mSizeInFrames - mFrameIndex; in onProcess() local 40 int32_t framesToProcess = std::min(numFrames, framesLeft); in onProcess()
|
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 118 fifo_frames_t framesLeft = numFrames; in read() local 124 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in read() 125 fifo_frames_t framesToRead = framesLeft; in read() 135 framesLeft -= framesToRead; in read() 141 fifo_frames_t framesRead = numFrames - framesLeft; in read() 149 fifo_frames_t framesLeft = numFrames; in write() local 155 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in write() 156 fifo_frames_t framesToWrite = framesLeft; in write() 166 framesLeft -= framesToWrite; in write() 172 fifo_frames_t framesWritten = numFrames - framesLeft; in write()
|
/frameworks/av/services/oboeservice/ |
D | AAudioMixer.cpp | 82 int32_t framesLeft = framesDesired; in mix() local 83 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in mix() 84 fifo_frames_t framesToMixFromPart = framesLeft; in mix() 94 framesLeft -= framesToMixFromPart; in mix() 104 return (framesDesired - framesLeft); // framesRead in mix()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternalCapture.cpp | 172 int32_t framesLeft = numFrames; in readNowWithConversion() local 177 for (int partIndex = 0; framesLeft > 0 && partIndex < WrappingBuffer::SIZE; partIndex++) { in readNowWithConversion() 178 int32_t framesToProcess = framesLeft; in readNowWithConversion() 196 framesLeft -= framesToProcess; in readNowWithConversion() 199 int32_t framesProcessed = numFrames - framesLeft; in readNowWithConversion()
|
D | AudioStreamInternalPlay.cpp | 235 int32_t framesLeft = numFrames; in writeNowWithConversion() local 241 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in writeNowWithConversion() 242 int32_t framesToWrite = framesLeft; in writeNowWithConversion() 256 framesLeft -= framesToWrite; in writeNowWithConversion() 262 int32_t framesWritten = numFrames - framesLeft; in writeNowWithConversion()
|
D | AudioStreamInternal.cpp | 783 int32_t framesLeft = numFrames; in processData() local 786 while (framesLeft > 0) { in processData() 789 aaudio_result_t framesProcessed = processDataNow(audioData, framesLeft, in processData() 795 framesLeft -= (int32_t) framesProcessed; in processData() 851 return (result < 0) ? result : numFrames - framesLeft; in processData()
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor.cpp | 48 int32_t framesLeft = 0; in main() local 125 framesLeft = framesToRecord; in main() 126 while (framesLeft > 0) { in main() 144 framesLeft -= actual; in main()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine.cpp | 48 int32_t framesLeft = 0; in main() local 131 framesLeft = framesToPlay; in main() 133 while (framesLeft > 0) { in main() 190 framesLeft -= actual; in main()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 419 int32_t framesLeft = numFrames; in read() local 421 while (framesLeft > 0) { in read() 423 int32_t framesToRead = std::min(framesLeft, mFormatConversionBufferSizeInFrames); in read() 438 framesLeft -= framesToConvert; in read()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 967 const size_t framesLeft = frameCount - framesWritten; in interceptBuffer() local 968 ALOGW_IF(framesLeft != 0, "%s(%d) PatchRecord %d can not provide big enough " in interceptBuffer() 970 framesWritten, frameCount, framesLeft); in interceptBuffer() 2828 const size_t framesLeft = frameCount - framesWritten; in writeFrames() local 2829 if (framesWritten != 0 && framesLeft != 0) { in writeFrames() 2831 framesLeft, frameSize); in writeFrames()
|
D | Threads.cpp | 5111 const size_t framesLeft = pipeFrames - max(availableToWrite, 0); in threadLoop_sleepTime() local 5114 mNormalFrameCount, max(framesLeft / 2, mFrameCount)); in threadLoop_sleepTime() 5116 pipeFrames, framesLeft, framesDelay); in threadLoop_sleepTime()
|