/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 120 fifo_frames_t framesLeft = numFrames; in read() local 126 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in read() 127 fifo_frames_t framesToRead = framesLeft; in read() 137 framesLeft -= framesToRead; in read() 143 fifo_frames_t framesRead = numFrames - framesLeft; in read() 151 fifo_frames_t framesLeft = numFrames; in write() local 157 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in write() 158 fifo_frames_t framesToWrite = framesLeft; in write() 168 framesLeft -= framesToWrite; in write() 174 fifo_frames_t framesWritten = numFrames - framesLeft; in write()
|
/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 framesRead = pull(framesLeft); in read() 43 framesLeft -= framesRead; in read() 45 return numFrames - framesLeft; in read()
|
D | SinkI16.cpp | 36 int32_t framesLeft = numFrames; in read() local 37 while (framesLeft > 0) { in read() 39 int32_t framesRead = pull(framesLeft); in read() 55 framesLeft -= framesRead; in read() 57 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 = pull(framesLeft); in read() 63 framesLeft -= framesRead; in read() 65 return numFrames - framesLeft; in read()
|
D | RampLinear.cpp | 63 int32_t framesLeft = framesToProcess; in onProcess() local 66 int32_t framesToRamp = std::min(framesLeft, mRemaining); in onProcess() 67 framesLeft -= framesToRamp; in onProcess() 79 int32_t samplesLeft = framesLeft * channelCount; in onProcess()
|
D | SourceFloat.cpp | 33 int32_t framesLeft = mSizeInFrames - mFrameIndex; in onProcess() local 34 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 | SourceI24.cpp | 39 int32_t framesLeft = mSizeInFrames - mFrameIndex; in onProcess() local 40 int32_t framesToProcess = std::min(numFrames, framesLeft); in onProcess()
|
/frameworks/av/services/oboeservice/ |
D | AAudioMixer.cpp | 86 int32_t framesLeft = framesDesired; in mix() local 87 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in mix() 88 fifo_frames_t framesToMixFromPart = framesLeft; in mix() 98 framesLeft -= framesToMixFromPart; in mix() 108 return (framesDesired - framesLeft); // framesRead in mix()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternalCapture.cpp | 166 int32_t framesLeft = numFrames; in readNowWithConversion() local 171 for (int partIndex = 0; framesLeft > 0 && partIndex < WrappingBuffer::SIZE; partIndex++) { in readNowWithConversion() 172 int32_t framesToProcess = framesLeft; in readNowWithConversion() 206 framesLeft -= framesToProcess; in readNowWithConversion() 209 int32_t framesProcessed = numFrames - framesLeft; in readNowWithConversion()
|
D | AudioStreamInternalPlay.cpp | 213 int32_t framesLeft = numFrames; in writeNowWithConversion() local 219 while (framesLeft > 0 && partIndex < WrappingBuffer::SIZE) { in writeNowWithConversion() 220 int32_t framesToWrite = framesLeft; in writeNowWithConversion() 234 framesLeft -= framesToWrite; in writeNowWithConversion() 240 int32_t framesWritten = numFrames - framesLeft; in writeNowWithConversion()
|
D | AudioStreamInternal.cpp | 620 int32_t framesLeft = numFrames; in processData() local 623 while (framesLeft > 0) { in processData() 626 aaudio_result_t framesProcessed = processDataNow(audioData, framesLeft, in processData() 632 framesLeft -= (int32_t) framesProcessed; in processData() 638 } else if (framesLeft > 0) { in processData() 688 return (result < 0) ? result : numFrames - framesLeft; in processData()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine.cpp | 48 int32_t framesLeft = 0; in main() local 119 framesLeft = framesToPlay; in main() 121 while (framesLeft > 0) { in main() 151 framesLeft -= actual; in main()
|
/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/src/legacy/ |
D | AudioStreamRecord.cpp | 412 int32_t framesLeft = numFrames; in read() local 414 while (framesLeft > 0) { in read() 416 int32_t framesToRead = std::min(framesLeft, mFormatConversionBufferSizeInFrames); in read() 431 framesLeft -= framesToConvert; in read()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 829 const size_t framesLeft = frameCount - framesWritten; in interceptBuffer() local 830 ALOGW_IF(framesLeft != 0, "%s(%d) PatchRecord %d can not provide big enough " in interceptBuffer() 832 framesWritten, frameCount, framesLeft); in interceptBuffer() 2441 const size_t framesLeft = frameCount - framesWritten; in writeFrames() local 2442 if (framesWritten != 0 && framesLeft != 0) { in writeFrames() 2444 framesLeft, frameSize); in writeFrames()
|
D | Threads.cpp | 4588 const size_t framesLeft = pipeFrames - max(availableToWrite, 0); in threadLoop_sleepTime() local 4591 mNormalFrameCount, max(framesLeft / 2, mFrameCount)); in threadLoop_sleepTime() 4593 pipeFrames, framesLeft, framesDelay); in threadLoop_sleepTime()
|