Home
last modified time | relevance | path

Searched refs:pairStream (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/jni/soundpool/
DStream.cpp233 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()
[all …]
DStreamManager.cpp243 Stream *pairStream = newStream->getPairStream(); in queueForPlay() local
244 streamID = getNextIdForStream(pairStream); in queueForPlay()
246 __func__, newStream, pairStream, streamID); in queueForPlay()
247 pairStream->setPlay( in queueForPlay()