Searched refs:framesToRead (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 125 fifo_frames_t framesToRead = framesLeft; in read() local 128 if (framesToRead > framesAvailable) { in read() 129 framesToRead = framesAvailable; in read() 131 int32_t numBytes = convertFramesToBytes(framesToRead); in read() 135 framesLeft -= framesToRead; in read()
|
D | FifoBuffer.h | 47 fifo_frames_t read(void *destination, fifo_frames_t framesToRead);
|
/frameworks/av/media/libaaudio/tests/ |
D | test_atomic_fifo.cpp | 215 fifo_frames_t framesToRead = std::min(framesAvailable, numFrames); in verifyMultipleDataFrames() local 216 fifo_frames_t actual = mFifoBuffer.read(mData, framesToRead); in verifyMultipleDataFrames() 217 ASSERT_EQ(framesToRead, actual); in verifyMultipleDataFrames() 218 for (int i = 0; i < framesToRead; i++) { in verifyMultipleDataFrames() 228 fifo_frames_t framesToRead = std::min(framesAvailable, numFrames); in verifyRequestedData() local 229 fifo_frames_t actual = mFifoBuffer.read(mData, framesToRead); in verifyRequestedData()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 423 int32_t framesToRead = std::min(framesLeft, mFormatConversionBufferSizeInFrames); in read() local 424 size_t bytesToRead = framesToRead * bytesPerDeviceFrame; in read()
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 2933 const size_t framesToRead = std::min(buffer->mFrameCount, mFrameCount); in obtainBuffer() local 2944 result = stream->read(mSinkBuffer.get(), framesToRead * mFrameSize, &bytesRead); in obtainBuffer()
|
D | Threads.cpp | 7953 size_t framesToRead = min(mRsmpInFramesOA - rear, mRsmpInFramesP2 / 2); in threadLoop() local 7961 framesToRead); in threadLoop()
|