Lines Matching refs:rear
8530 int32_t rear = mRsmpInRear & (mRsmpInFramesP2 - 1); in threadLoop() local
8536 size_t framesToRead = min(mRsmpInFramesOA - rear, mRsmpInFramesP2 / 2); in threadLoop()
8543 framesRead = mPipeSource->read((uint8_t*)mRsmpInBuffer + rear * mFrameSize, in threadLoop()
8582 (uint8_t*)mRsmpInBuffer + rear * mFrameSize, mBufferSize, &bytesRead); in threadLoop()
8657 (void)mTee.write((uint8_t*)mRsmpInBuffer + rear * mFrameSize, framesRead); in threadLoop()
8661 size_t part1 = mRsmpInFramesP2 - rear; in threadLoop()
9473 const int32_t rear = recordThread->mRsmpInRear; in reset() local
9478 if (startFrames <= rear) { in reset()
9479 deltaFrames = rear - startFrames; in reset()
9481 deltaFrames = (int32_t)((int64_t)rear + UINT32_MAX + 1 - startFrames); in reset()
9488 mRsmpInFront = audio_utils::safe_sub_overflow(rear, static_cast<int32_t>(deltaFrames)); in reset()
9496 const int32_t rear = recordThread->mRsmpInRear; in sync() local
9498 const ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in sync()
9505 mRsmpInFront = rear; in sync()
9513 rear, static_cast<int32_t>(framesIn)); in sync()
9535 int32_t rear = recordThread->mRsmpInRear; in getNextBuffer() local
9537 ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in getNextBuffer()