Lines Matching refs:mLoopCount
628 mState.mLoopCount = loopCount; in setLoop()
635 if (mState.mLoopCount != 0 && mPosLoop.mBufferPosition >= mState.mLoopEnd) { in setLoop()
638 mPosLoop.mLoopCount = mState.mLoopCount; in setLoop()
654 if (mState.mLoopCount > 0) { // only check if loop count is changing in setBufferPosition()
660 mPosLoop.mLoopCount = 0; in setBufferPosition()
690 *loopCount = mPosLoop.mLoopCount; in getBufferPositionAndLoopCount()
1060 if (update.mLoopCount == 0) { in updateStateWithLoop()
1062 } else if (update.mLoopCount >= -1) { in updateStateWithLoop()
1077 localState->mLoopCount = update.mLoopCount; in updateStateWithLoop()
1091 } else if (localState->mLoopCount != 0 && update.mPosition >= localState->mLoopEnd) { in updateStateWithPosition()
1092 localState->mLoopCount = 0; // disable loop count if position is beyond loop end. in updateStateWithPosition()
1123 if (mState.mLoopCount == -1) { in pollPosition()
1125 } else if (mState.mLoopCount == 0) { in pollPosition()
1127 } else if (mState.mLoopCount > 0) { in pollPosition()
1130 mFramesReady = int64_t(mState.mLoopCount) * (mState.mLoopEnd - mState.mLoopStart) in pollPosition()
1137 posLoop.mLoopCount = (int32_t) mState.mLoopCount; in pollPosition()
1164 size_t end = mState.mLoopCount != 0 ? mState.mLoopEnd : mFrameCount; in obtainBuffer()
1219 } else if (mState.mLoopCount != 0 && newPosition == mState.mLoopEnd) { in releaseBuffer()
1221 if (mState.mLoopCount == -1 || --mState.mLoopCount != 0) { in releaseBuffer()
1242 posLoop.mLoopCount = mState.mLoopCount; in releaseBuffer()