Searched refs:writeCounter (Results 1 – 4 of 4) sorted by relevance
111 int32_t writeCounter = mFifoBuffer->getWriteCounter(); in dump() local112 result << std::setw(10) << writeCounter; in dump()114 result << std::setw(8) << (writeCounter - readCounter); in dump()
53 int64_t writeCounter = mAudioEndpoint->getDataWriteCounter() + serverMargin; in advanceClientToMatchServerPosition() local56 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()
104 int64_t writeCounter = mAudioEndpoint->getDataWriteCounter(); in advanceClientToMatchServerPosition() local107 int64_t offset = writeCounter - readCounter; in advanceClientToMatchServerPosition()110 (long long)readCounter, (long long)writeCounter, (long long)mFramesOffsetFromService); in advanceClientToMatchServerPosition()
4 One thread modifies the readCounter and the other thread modifies the writeCounter.