Home
last modified time | relevance | path

Searched refs:framesLeft (Results 1 – 12 of 12) sorted by relevance

/external/oboe/apps/OboeTester/app/src/main/cpp/
DMultiChannelRecording.h77 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/
DSinkFloat.cpp33 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()
DSinkI16.cpp35 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()
DSinkI24.cpp37 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()
DSampleRateConverter.cpp52 int framesLeft = numFrames; in onProcess() local
53 while (framesLeft > 0) { in onProcess()
66 framesLeft--; in onProcess()
69 return numFrames - framesLeft; in onProcess()
DRampLinear.cpp55 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()
DSourceFloat.cpp33 int32_t framesLeft = mSizeInFrames - mFrameIndex; in onProcess() local
34 int32_t framesToProcess = std::min(numFrames, framesLeft); in onProcess()
DSourceI16.cpp37 int32_t framesLeft = mSizeInFrames - mFrameIndex; in onProcess() local
38 int32_t framesToProcess = std::min(numFrames, framesLeft); in onProcess()
DSourceI24.cpp39 int32_t framesLeft = mSizeInFrames - mFrameIndex; in onProcess() local
40 int32_t framesToProcess = std::min(numFrames, framesLeft); in onProcess()
/external/oboe/src/opensles/
DAudioStreamBuffered.cpp145 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/
DWavStreamReader.cpp130 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/
DFifoBuffer.cpp159 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()