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

Commit 3bc5c3c9 authored by Wenfeng Sun's avatar Wenfeng Sun Committed by android-build-merger
Browse files

Merge "Fix OffloadThread VolumeShaper issue" am: b7a4a3c4 am: 3ca47ba9 am:...

Merge "Fix OffloadThread VolumeShaper issue" am: b7a4a3c4 am: 3ca47ba9 am: 3ef50539 am: d6d47b2f
am: 82452b74

Change-Id: I82ab6403e7734b04230a2b2f761eb4f25e161e51
parents 33f55665 82452b74
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -6363,8 +6363,10 @@ AudioFlinger::PlaybackThread::mixer_state AudioFlinger::OffloadThread::prepareTr
            }
        }
        // compute volume for this track
        if (track->isReady()) {  // check ready to prevent premature start.
            processVolume_l(track, last);
        }
    }

    // make sure the pause/flush/resume sequence is executed in the right order.
    // If a flush is pending and a track is active but the HW is not paused, force a HW pause