Lines Matching refs:mLoopCount

525     mState.mLoopCount = loopCount;  in setLoop()
532 if (mState.mLoopCount != 0 && mPosLoop.mBufferPosition >= mState.mLoopEnd) { in setLoop()
535 mPosLoop.mLoopCount = mState.mLoopCount; in setLoop()
551 if (mState.mLoopCount > 0) { // only check if loop count is changing in setBufferPosition()
557 mPosLoop.mLoopCount = 0; in setBufferPosition()
587 *loopCount = mPosLoop.mLoopCount; in getBufferPositionAndLoopCount()
850 if (update.mLoopCount == 0) { in updateStateWithLoop()
852 } else if (update.mLoopCount >= -1) { in updateStateWithLoop()
867 localState->mLoopCount = update.mLoopCount; in updateStateWithLoop()
881 } else if (localState->mLoopCount != 0 && update.mPosition >= localState->mLoopEnd) { in updateStateWithPosition()
882 localState->mLoopCount = 0; // disable loop count if position is beyond loop end. in updateStateWithPosition()
913 if (mState.mLoopCount == -1) { in pollPosition()
915 } else if (mState.mLoopCount == 0) { in pollPosition()
917 } else if (mState.mLoopCount > 0) { in pollPosition()
920 mFramesReady = int64_t(mState.mLoopCount) * (mState.mLoopEnd - mState.mLoopStart) in pollPosition()
927 posLoop.mLoopCount = (int32_t) mState.mLoopCount; in pollPosition()
953 size_t end = mState.mLoopCount != 0 ? mState.mLoopEnd : mFrameCount; in obtainBuffer()
997 } else if (mState.mLoopCount != 0 && newPosition == mState.mLoopEnd) { in releaseBuffer()
999 if (mState.mLoopCount == -1 || --mState.mLoopCount != 0) { in releaseBuffer()
1018 posLoop.mLoopCount = mState.mLoopCount; in releaseBuffer()