Home
last modified time | relevance | path

Searched refs:framesToWrite (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libaaudio/src/fifo/
DFifoBuffer.cpp156 fifo_frames_t framesToWrite = framesLeft; in write() local
159 if (framesToWrite > framesAvailable) { in write()
160 framesToWrite = framesAvailable; in write()
162 int32_t numBytes = convertFramesToBytes(framesToWrite); in write()
166 framesLeft -= framesToWrite; in write()
205 fifo_frames_t framesToWrite = framesLeft; in eraseEmptyMemory() local
208 if (framesToWrite > framesAvailable) { in eraseEmptyMemory()
209 framesToWrite = framesAvailable; in eraseEmptyMemory()
211 int32_t numBytes = convertFramesToBytes(framesToWrite); in eraseEmptyMemory()
213 framesLeft -= framesToWrite; in eraseEmptyMemory()
DFifoBuffer.h49 fifo_frames_t write(const void *source, fifo_frames_t framesToWrite);
/frameworks/av/media/libaaudio/tests/
Dtest_atomic_fifo.cpp203 fifo_frames_t framesToWrite = std::min(framesAvailable, numFrames); in writeMultipleDataFrames() local
204 for (int i = 0; i < framesToWrite; i++) { in writeMultipleDataFrames()
207 fifo_frames_t actual = mFifoBuffer.write(mData, framesToWrite); in writeMultipleDataFrames()
208 ASSERT_EQ(framesToWrite, actual); in writeMultipleDataFrames()