Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DSharedRingBuffer.cpp111 int32_t writeCounter = mFifoBuffer->getWriteCounter(); in dump() local
112 result << std::setw(10) << writeCounter; in dump()
114 result << std::setw(8) << (writeCounter - readCounter); in dump()
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalCapture.cpp53 int64_t writeCounter = mAudioEndpoint->getDataWriteCounter() + serverMargin; in advanceClientToMatchServerPosition() local
56 int64_t offset = readCounter - writeCounter; in advanceClientToMatchServerPosition()
59 (long long)readCounter, (long long)writeCounter, (long long)mFramesOffsetFromService); in advanceClientToMatchServerPosition()
63 mAudioEndpoint->setDataReadCounter(writeCounter); in advanceClientToMatchServerPosition()
DAudioStreamInternalPlay.cpp104 int64_t writeCounter = mAudioEndpoint->getDataWriteCounter(); in advanceClientToMatchServerPosition() local
107 int64_t offset = writeCounter - readCounter; in advanceClientToMatchServerPosition()
110 (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.