Searched refs:framesLeft (Results 1 – 12 of 12) sorted by relevance
/external/oboe/apps/OboeTester/app/src/main/cpp/ |
D | MultiChannelRecording.h | 77 int32_t framesLeft = numFrames; in write() local 78 while (framesLeft > 0) { in write() 82 int32_t framesNow = std::min(framesLeft, framesToEndOfBuffer); in write() 91 framesLeft -= framesNow; in write() 93 return numFrames - framesLeft; in write() 104 int32_t framesLeft = numFrames; in write() local 105 while (framesLeft > 0) { in write() 109 int32_t framesNow = std::min(framesLeft, framesToEnd); in write() 118 framesLeft -= framesNow; in write() 132 int32_t framesLeft = std::min(numFrames, in read() local [all …]
|
/external/oboe/src/flowgraph/ |
D | SinkFloat.cpp | 33 int32_t framesLeft = numFrames; in read() local 34 while (framesLeft > 0) { in read() 36 int32_t framesPulled = pullData(framesLeft); in read() 45 framesLeft -= framesPulled; in read() 48 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 | 52 int framesLeft = numFrames; in onProcess() local 53 while (framesLeft > 0) { in onProcess() 66 framesLeft--; in onProcess() 69 return numFrames - framesLeft; in onProcess()
|
D | RampLinear.cpp | 55 int32_t framesLeft = numFrames; in onProcess() local 58 int32_t framesToRamp = std::min(framesLeft, mRemaining); in onProcess() 59 framesLeft -= framesToRamp; in onProcess() 71 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()
|
/external/oboe/src/opensles/ |
D | AudioStreamBuffered.cpp | 145 int32_t framesLeft = numFrames; in transfer() local 158 result = mFifoBuffer->read(readData, framesLeft); in transfer() 161 framesLeft -= result; in transfer() 168 int32_t framesToWrite = std::max(0, std::min(framesLeft, emptyFrames)); in transfer() 172 framesLeft -= result; in transfer() 177 if (framesLeft > 0 && result >= 0 && timeoutNanoseconds > 0) { in transfer() 213 int32_t framesWritten = numFrames - framesLeft; in transfer()
|
/external/oboe/samples/parselib/src/main/cpp/wav/ |
D | WavStreamReader.cpp | 130 int framesLeft = numFrames; in getDataFloat() local 131 while (framesLeft > 0) { in getDataFloat() 132 int framesThisRead = std::min(framesLeft, 128); in getDataFloat() 148 framesLeft -= framesThisRead; in getDataFloat()
|
/external/oboe/src/fifo/ |
D | FifoBuffer.cpp | 159 int32_t framesLeft = numFrames - framesRead; in readNow() local 161 mFramesUnderrunCount += framesLeft; in readNow() 163 if (framesLeft > 0) { in readNow() 166 int32_t bytesToZero = convertFramesToBytes(framesLeft); in readNow()
|