Searched refs:readCounter (Results 1 – 7 of 7) sorted by relevance
110 int32_t readCounter = mFifoBuffer->getReadCounter(); in dump() local113 result << std::setw(10) << readCounter; in dump()114 result << std::setw(8) << (writeCounter - readCounter); in dump()
103 int64_t readCounter = mAudioEndpoint->getDataReadCounter() + serverMargin; in advanceClientToMatchServerPosition() local107 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()
52 int64_t readCounter = mAudioEndpoint->getDataReadCounter(); in advanceClientToMatchServerPosition() local56 int64_t offset = readCounter - writeCounter; in advanceClientToMatchServerPosition()59 (long long)readCounter, (long long)writeCounter, (long long)mFramesOffsetFromService); in advanceClientToMatchServerPosition()
3998 ssize_t readCounter = 0; local4093 if(readCounter < MAX_READ_SIZE) {4119 mLeftOverBufferSize = readCounter;4147 while (readCounter > 0) {4178 readCounter -= BYTES_PER_SENSOR;4186 readCounter -= BYTES_PER_SENSOR;4346 if (readCounter != 0) {4355 readCounter -= BYTES_PER_SENSOR;4360 if (readCounter == 0) {4377 readCounter = 0;[all …]
113 uint64_t* readCounter = reinterpret_cast<uint64_t*>(reinterpret_cast<uint8_t*>(firstStart) - in writer() local115 *readCounter = fdp.ConsumeIntegral<uint64_t>(); in writer()
4 One thread modifies the readCounter and the other thread modifies the writeCounter.
3704 size_t readCounter = 0; in buildMpuEvent() local3787 readCounter = 24; in buildMpuEvent()3790 readCounter = rsize + mLeftOverBufferSize; in buildMpuEvent()3813 while (readCounter > 0) { in buildMpuEvent()3857 readCounter -= BYTES_QUAT_DATA; in buildMpuEvent()3866 readCounter -= BYTES_QUAT_DATA; in buildMpuEvent()3875 readCounter -= BYTES_PER_SENSOR_PACKET; in buildMpuEvent()3882 readCounter -= BYTES_PER_SENSOR_PACKET; in buildMpuEvent()3949 mLeftOverBufferSize = readCounter; in buildMpuEvent()3950 readCounter = 0; in buildMpuEvent()[all …]