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

Commit b7a4a3c4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix OffloadThread VolumeShaper issue"

parents e9239dbe 7945833b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -5936,8 +5936,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