Home
last modified time | relevance | path

Searched refs:getReadCounter (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libaaudio/src/fifo/
DFifoControllerBase.cpp36 return (fifo_frames_t) (getWriteCounter() - getReadCounter()); in getFullFramesAvailable()
41 return (fifo_frames_t) (getReadCounter() % mCapacity); in getReadIndex()
45 setReadCounter(getReadCounter() + numFrames); in advanceReadIndex()
DFifoBuffer.h98 fifo_counter_t getReadCounter() { in getReadCounter() function
99 return mFifo->getReadCounter(); in getReadCounter()
DFifoControllerBase.h52 virtual fifo_counter_t getReadCounter() = 0;
DFifoController.h42 virtual fifo_counter_t getReadCounter() override { in getReadCounter() function
DFifoControllerIndirect.h50 virtual fifo_counter_t getReadCounter() override { in getReadCounter() function
/frameworks/av/media/libaaudio/tests/
Dtest_atomic_fifo.cpp39 ASSERT_EQ(0, fifoController.getReadCounter()); in TEST()
48 ASSERT_EQ(0, fifoController.getReadCounter()); in TEST()
57 ASSERT_EQ(advanced, fifoController.getReadCounter()); in TEST()
68 ASSERT_EQ(advance1, fifoController.getReadCounter()); in TEST()
/frameworks/av/services/oboeservice/
DAAudioServiceEndpointPlay.cpp110 clientFramesRead = fifo->getReadCounter(); in callbackLoop()
129 clientFramesRead = fifo->getReadCounter(); in callbackLoop()
DAAudioServiceStreamShared.cpp63 int32_t readCounter = fifo->getReadCounter(); in dump()
/frameworks/av/media/libaaudio/src/client/
DAudioEndpoint.cpp227 return mDataQueue->getReadCounter(); in getDataReadCounter()
262 ALOGD("data readCounter = %lld", (long long) mDataQueue->getReadCounter()); in dump()