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

Commit 82452b74 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: 3ef50539

am: d6d47b2f

Change-Id: I9fe3d8300f819d82e3d73a632910b9a87c4e32fc
parents 3d6e7d49 d6d47b2f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -6354,8 +6354,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