Lines Matching refs:pairStream
233 Stream* pairStream = getPairStream(); in playPairStream() local
234 LOG_ALWAYS_FATAL_IF(pairStream == nullptr, "No pair stream!"); in playPairStream()
242 std::lock_guard lockp(pairStream->mLock); in playPairStream()
243 if (pairStream->mSound == nullptr) { in playPairStream()
250 pairStream->mAudioTrack = mAudioTrack; in playPairStream()
251 pairStream->mSoundID = mSoundID; // optimization to reuse AudioTrack. in playPairStream()
252 pairStream->mToggle = mToggle; in playPairStream()
253 pairStream->mAutoPaused = mAutoPaused; // save autopause state in playPairStream()
254 pairStream->mMuted = mMuted; in playPairStream()
260 const int pairState = pairStream->mState; in playPairStream()
261 pairStream->play_l(pairStream->mSound, pairStream->mStreamID, in playPairStream()
262 pairStream->mLeftVolume, pairStream->mRightVolume, pairStream->mPriority, in playPairStream()
263 pairStream->mLoop, pairStream->mRate, garbage, playerIId); in playPairStream()
264 if (pairStream->mState == IDLE) { in playPairStream()
268 pairStream->mState = PAUSED; in playPairStream()
269 pairStream->mAudioTrack->pause(); in playPairStream()
272 return pairStream; in playPairStream()