Lines Matching refs:rear
7112 int32_t rear = mRsmpInRear & (mRsmpInFramesP2 - 1); in threadLoop() local
7118 size_t framesToRead = min(mRsmpInFramesOA - rear, mRsmpInFramesP2 / 2); in threadLoop()
7125 framesRead = mPipeSource->read((uint8_t*)mRsmpInBuffer + rear * mFrameSize, in threadLoop()
7163 (uint8_t*)mRsmpInBuffer + rear * mFrameSize, mBufferSize, &bytesRead); in threadLoop()
7236 (void)mTee.write((uint8_t*)mRsmpInBuffer + rear * mFrameSize, framesRead); in threadLoop()
7240 size_t part1 = mRsmpInFramesP2 - rear; in threadLoop()
7246 rear = mRsmpInRear += framesRead; in threadLoop()
7989 const int32_t rear = recordThread->mRsmpInRear; in sync() local
7991 const ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in sync()
7998 mRsmpInFront = rear; in sync()
8006 rear, static_cast<int32_t>(framesIn)); in sync()
8028 int32_t rear = recordThread->mRsmpInRear; in getNextBuffer() local
8030 ssize_t filled = audio_utils::safe_sub_overflow(rear, front); in getNextBuffer()