Home | History | Annotate | Download | only in libmedia

Lines Matching refs:mLoopCount

547     mState.mLoopCount = loopCount;
554 if (mState.mLoopCount != 0 && mPosLoop.mBufferPosition >= mState.mLoopEnd) {
557 mPosLoop.mLoopCount = mState.mLoopCount;
573 if (mState.mLoopCount > 0) { // only check if loop count is changing
579 mPosLoop.mLoopCount = 0;
609 *loopCount = mPosLoop.mLoopCount;
894 if (update.mLoopCount == 0) {
896 } else if (update.mLoopCount >= -1) {
911 localState->mLoopCount = update.mLoopCount;
925 } else if (localState->mLoopCount != 0 && update.mPosition >= localState->mLoopEnd) {
926 localState->mLoopCount = 0; // disable loop count if position is beyond loop end.
957 if (mState.mLoopCount == -1) {
959 } else if (mState.mLoopCount == 0) {
961 } else if (mState.mLoopCount > 0) {
964 mFramesReady = int64_t(mState.mLoopCount) * (mState.mLoopEnd - mState.mLoopStart)
971 posLoop.mLoopCount = (int32_t) mState.mLoopCount;
997 size_t end = mState.mLoopCount != 0 ? mState.mLoopEnd : mFrameCount;
1043 } else if (mState.mLoopCount != 0 && newPosition == mState.mLoopEnd) {
1045 if (mState.mLoopCount == -1 || --mState.mLoopCount != 0) {
1066 posLoop.mLoopCount = mState.mLoopCount;