Lines Matching refs:localState
938 StaticAudioTrackState *localState, const StaticAudioTrackState &update) const
940 if (localState->mLoopSequence != update.mLoopSequence) {
944 size_t position = localState->mPosition;
961 localState->mPosition = position;
962 localState->mLoopCount = update.mLoopCount;
963 localState->mLoopEnd = loopEnd;
964 localState->mLoopStart = loopStart;
965 localState->mLoopSequence = update.mLoopSequence;
971 StaticAudioTrackState *localState, const StaticAudioTrackState &update) const
973 if (localState->mPositionSequence != update.mPositionSequence) {
976 } else if (localState->mLoopCount != 0 && update.mPosition >= localState->mLoopEnd) {
977 localState->mLoopCount = 0; // disable loop count if position is beyond loop end.
979 localState->mPosition = update.mPosition;
980 localState->mPositionSequence = update.mPositionSequence;