Searched refs:framesAvailable (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 85 int32_t framesAvailable, in fillWrappingBuffer() argument 89 if (framesAvailable > 0) { in fillWrappingBuffer() 92 if ((startIndex + framesAvailable) > mFrameCapacity) { in fillWrappingBuffer() 97 wrappingBuffer->numFrames[1] = framesAvailable - firstFrames; in fillWrappingBuffer() 100 wrappingBuffer->numFrames[0] = framesAvailable; in fillWrappingBuffer() 110 fifo_frames_t framesAvailable = std::min(mFifo->getFullFramesAvailable(), mFrameCapacity); in getFullDataAvailable() local 112 fillWrappingBuffer(wrappingBuffer, framesAvailable, startIndex); in getFullDataAvailable() 113 return framesAvailable; in getFullDataAvailable() 118 fifo_frames_t framesAvailable = std::min(mFifo->getEmptyFramesAvailable(), mFrameCapacity); in getEmptyRoomAvailable() local 120 fillWrappingBuffer(wrappingBuffer, framesAvailable, startIndex); in getEmptyRoomAvailable() [all …]
|
D | FifoBuffer.h | 122 int32_t framesAvailable, int32_t startIndex);
|
/frameworks/av/media/libaaudio/tests/ |
D | test_atomic_fifo.cpp | 160 fifo_frames_t framesAvailable = in verifyWrappingBuffer() local 163 EXPECT_EQ(framesAvailable, wrapAvailable); in verifyWrappingBuffer() 165 EXPECT_EQ(framesAvailable, bothAvailable); in verifyWrappingBuffer() 167 framesAvailable = in verifyWrappingBuffer() 170 EXPECT_EQ(framesAvailable, wrapAvailable); in verifyWrappingBuffer() 172 EXPECT_EQ(framesAvailable, bothAvailable); in verifyWrappingBuffer() 200 fifo_frames_t framesAvailable = in writeMultipleDataFrames() local 202 fifo_frames_t framesToWrite = std::min(framesAvailable, numFrames); in writeMultipleDataFrames() 212 fifo_frames_t framesAvailable = in verifyMultipleDataFrames() local 214 fifo_frames_t framesToRead = std::min(framesAvailable, numFrames); in verifyMultipleDataFrames() [all …]
|
/frameworks/av/services/oboeservice/ |
D | AAudioMixer.cpp | 79 fifo_frames_t framesAvailable = wrappingBuffer.numFrames[partIndex]; in mix() local 80 if (framesAvailable > 0) { in mix() 81 if (framesToMix > framesAvailable) { in mix() 82 framesToMix = framesAvailable; in mix()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternalCapture.cpp | 166 int32_t framesAvailable = wrappingBuffer.numFrames[partIndex]; in readNowWithConversion() local 167 if (framesAvailable <= 0) break; in readNowWithConversion() 169 if (framesToProcess > framesAvailable) { in readNowWithConversion() 170 framesToProcess = framesAvailable; in readNowWithConversion()
|
D | AudioStreamInternalPlay.cpp | 211 int32_t framesAvailable = wrappingBuffer.numFrames[partIndex]; in writeNowWithConversion() local 212 if (framesAvailable > 0) { in writeNowWithConversion() 213 if (framesToWrite > framesAvailable) { in writeNowWithConversion() 214 framesToWrite = framesAvailable; in writeNowWithConversion()
|
/frameworks/av/services/audioflinger/ |
D | Threads.h | 1276 virtual void sync(size_t *framesAvailable = NULL, bool *hasOverrun = NULL);
|
D | Threads.cpp | 7025 size_t *framesAvailable, bool *hasOverrun) in sync() argument 7048 if (framesAvailable != NULL) { in sync() 7049 *framesAvailable = framesIn; in sync()
|