Lines Matching refs:mLoopCount

588     mState.mLoopCount = loopCount;  in setLoop()
595 if (mState.mLoopCount != 0 && mPosLoop.mBufferPosition >= mState.mLoopEnd) { in setLoop()
598 mPosLoop.mLoopCount = mState.mLoopCount; in setLoop()
614 if (mState.mLoopCount > 0) { // only check if loop count is changing in setBufferPosition()
620 mPosLoop.mLoopCount = 0; in setBufferPosition()
650 *loopCount = mPosLoop.mLoopCount; in getBufferPositionAndLoopCount()
1021 if (update.mLoopCount == 0) { in updateStateWithLoop()
1023 } else if (update.mLoopCount >= -1) { in updateStateWithLoop()
1038 localState->mLoopCount = update.mLoopCount; in updateStateWithLoop()
1052 } else if (localState->mLoopCount != 0 && update.mPosition >= localState->mLoopEnd) { in updateStateWithPosition()
1053 localState->mLoopCount = 0; // disable loop count if position is beyond loop end. in updateStateWithPosition()
1084 if (mState.mLoopCount == -1) { in pollPosition()
1086 } else if (mState.mLoopCount == 0) { in pollPosition()
1088 } else if (mState.mLoopCount > 0) { in pollPosition()
1091 mFramesReady = int64_t(mState.mLoopCount) * (mState.mLoopEnd - mState.mLoopStart) in pollPosition()
1098 posLoop.mLoopCount = (int32_t) mState.mLoopCount; in pollPosition()
1125 size_t end = mState.mLoopCount != 0 ? mState.mLoopEnd : mFrameCount; in obtainBuffer()
1180 } else if (mState.mLoopCount != 0 && newPosition == mState.mLoopEnd) { in releaseBuffer()
1182 if (mState.mLoopCount == -1 || --mState.mLoopCount != 0) { in releaseBuffer()
1203 posLoop.mLoopCount = mState.mLoopCount; in releaseBuffer()