Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abae71d3 authored by Glenn Kasten's avatar Glenn Kasten Committed by Android Git Automerger
Browse files

am d983364b: Static AudioTrack plays twice initially

* commit 'd983364b':
  Static AudioTrack plays twice initially
parents 205d7249 d983364b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4681,7 +4681,7 @@ void AudioFlinger::PlaybackThread::Track::flush()
    if (thread != 0) {
        Mutex::Autolock _l(thread->mLock);
        if (mState != STOPPING_1 && mState != STOPPING_2 && mState != STOPPED && mState != PAUSED &&
                mState != PAUSING) {
                mState != PAUSING && mState != IDLE && mState != FLUSHED) {
            return;
        }
        // No point remaining in PAUSED state after a flush => go to