Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/fifo/
DFifoBuffer.cpp67 int32_t FifoBuffer::convertFramesToBytes(fifo_frames_t frames) { in convertFramesToBytes() function in FifoBuffer
79 uint8_t *source = &storage[convertFramesToBytes(startIndex)]; in fillWrappingBuffer()
131 int32_t numBytes = convertFramesToBytes(framesToRead); in read()
162 int32_t numBytes = convertFramesToBytes(framesToWrite); in write()
190 int32_t numBytes = convertFramesToBytes(getBufferCapacityInFrames()); in eraseMemory()
211 int32_t numBytes = convertFramesToBytes(framesToWrite); in eraseEmptyMemory()
DFifoBuffer.h45 int32_t convertFramesToBytes(fifo_frames_t frames);
/frameworks/av/media/libaaudio/tests/
Dtest_atomic_fifo.cpp133 ASSERT_EQ((int32_t)(2 * sizeof(int16_t)), mFifoBuffer.convertFramesToBytes(2)); in checkMisc()
187 + mFifoBuffer.convertFramesToBytes(wrappingBuffer.numFrames[0]) - 1; in verifyWrappingBuffer()
193 + mFifoBuffer.convertFramesToBytes(wrappingBuffer.numFrames[1]) - 1; in verifyWrappingBuffer()