Searched refs:framesToRead (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 127 fifo_frames_t framesToRead = framesLeft; in read() local 130 if (framesToRead > framesAvailable) { in read() 131 framesToRead = framesAvailable; in read() 133 int32_t numBytes = convertFramesToBytes(framesToRead); in read() 137 framesLeft -= framesToRead; in read()
|
D | FifoBuffer.h | 53 fifo_frames_t read(void *destination, fifo_frames_t framesToRead);
|
/frameworks/av/media/libaaudio/tests/ |
D | test_atomic_fifo.cpp | 214 fifo_frames_t framesToRead = std::min(framesAvailable, numFrames); in verifyMultipleDataFrames() local 215 fifo_frames_t actual = mFifoBuffer.read(mData, framesToRead); in verifyMultipleDataFrames() 216 ASSERT_EQ(framesToRead, actual); in verifyMultipleDataFrames() 217 for (int i = 0; i < framesToRead; i++) { in verifyMultipleDataFrames() 227 fifo_frames_t framesToRead = std::min(framesAvailable, numFrames); in verifyRequestedData() local 228 fifo_frames_t actual = mFifoBuffer.read(mData, framesToRead); in verifyRequestedData()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 416 int32_t framesToRead = std::min(framesLeft, mFormatConversionBufferSizeInFrames); in read() local 417 size_t bytesToRead = framesToRead * bytesPerDeviceFrame; in read()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 2545 const size_t framesToRead = std::min(buffer->mFrameCount, mFrameCount); in obtainBuffer() local 2556 result = stream->read(mSinkBuffer.get(), framesToRead * mFrameSize, &bytesRead); in obtainBuffer()
|
D | Threads.cpp | 7118 size_t framesToRead = min(mRsmpInFramesOA - rear, mRsmpInFramesP2 / 2); in threadLoop() local 7126 framesToRead); in threadLoop()
|