Lines Matching refs:localState
1017 StaticAudioTrackState *localState, const StaticAudioTrackState &update) const in updateStateWithLoop() argument
1019 if (localState->mLoopSequence != update.mLoopSequence) { in updateStateWithLoop()
1023 size_t position = localState->mPosition; in updateStateWithLoop()
1040 localState->mPosition = position; in updateStateWithLoop()
1041 localState->mLoopCount = update.mLoopCount; in updateStateWithLoop()
1042 localState->mLoopEnd = loopEnd; in updateStateWithLoop()
1043 localState->mLoopStart = loopStart; in updateStateWithLoop()
1044 localState->mLoopSequence = update.mLoopSequence; in updateStateWithLoop()
1050 StaticAudioTrackState *localState, const StaticAudioTrackState &update) const in updateStateWithPosition() argument
1052 if (localState->mPositionSequence != update.mPositionSequence) { in updateStateWithPosition()
1055 } else if (localState->mLoopCount != 0 && update.mPosition >= localState->mLoopEnd) { in updateStateWithPosition()
1056 localState->mLoopCount = 0; // disable loop count if position is beyond loop end. in updateStateWithPosition()
1058 localState->mPosition = update.mPosition; in updateStateWithPosition()
1059 localState->mPositionSequence = update.mPositionSequence; in updateStateWithPosition()