Home
last modified time | relevance | path

Searched refs:readCounter (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/oboeservice/
DSharedRingBuffer.cpp110 int32_t readCounter = mFifoBuffer->getReadCounter(); in dump() local
113 result << std::setw(10) << readCounter; in dump()
114 result << std::setw(8) << (writeCounter - readCounter); in dump()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalPlay.cpp103 int64_t readCounter = mAudioEndpoint->getDataReadCounter() + serverMargin; in advanceClientToMatchServerPosition() local
107 int64_t offset = writeCounter - readCounter; in advanceClientToMatchServerPosition()
110 (long long)readCounter, (long long)writeCounter, (long long)mFramesOffsetFromService); in advanceClientToMatchServerPosition()
114 mAudioEndpoint->setDataWriteCounter(readCounter); in advanceClientToMatchServerPosition()
DAudioStreamInternalCapture.cpp52 int64_t readCounter = mAudioEndpoint->getDataReadCounter(); in advanceClientToMatchServerPosition() local
56 int64_t offset = readCounter - writeCounter; in advanceClientToMatchServerPosition()
59 (long long)readCounter, (long long)writeCounter, (long long)mFramesOffsetFromService); in advanceClientToMatchServerPosition()
/frameworks/av/media/libaaudio/src/fifo/
DREADME.md4 One thread modifies the readCounter and the other thread modifies the writeCounter.