Lines Matching refs:newPosition
819 size_t newPosition = position + stepCount;
821 if (!(position <= newPosition && newPosition <= mFrameCount)) {
822 ALOGW("%s newPosition %u outside [%u, %u]", __func__, newPosition, position, mFrameCount);
823 newPosition = mFrameCount;
824 } else if (mState.mLoopCount != 0 && newPosition == mState.mLoopEnd) {
826 newPosition = mState.mLoopStart;
833 if (newPosition == mFrameCount) {
836 mPosition = newPosition;
839 cblk->u.mStatic.mBufferPosition = newPosition;