Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternalCapture.cpp46 int64_t writeCounter = mAudioEndpoint.getDataWriteCounter(); in advanceClientToMatchServerPosition() local
49 int64_t offset = readCounter - writeCounter; in advanceClientToMatchServerPosition()
52 (long long)readCounter, (long long)writeCounter, (long long)mFramesOffsetFromService); in advanceClientToMatchServerPosition()
56 mAudioEndpoint.setDataReadCounter(writeCounter); in advanceClientToMatchServerPosition()
DAudioStreamInternalPlay.cpp91 int64_t writeCounter = mAudioEndpoint.getDataWriteCounter(); in advanceClientToMatchServerPosition() local
94 int64_t offset = writeCounter - readCounter; in advanceClientToMatchServerPosition()
97 (long long)readCounter, (long long)writeCounter, (long long)mFramesOffsetFromService); in advanceClientToMatchServerPosition()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamShared.cpp64 int32_t writeCounter = fifo->getWriteCounter(); in dump() local
65 result << std::setw(10) << writeCounter; in dump()
67 result << std::setw(8) << (writeCounter - readCounter); in dump()
/frameworks/av/media/libaaudio/src/fifo/
DREADME.md4 One thread modifies the readCounter and the other thread modifies the writeCounter.