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

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

Merge "Fix OffloadThread VolumeShaper issue" am: b7a4a3c4

am: 3ca47ba9

Change-Id: I837248a1e675d40fe2fa030764b596a2b36a2ec2
parents ea826c6e 3ca47ba9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -6342,8 +6342,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