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

Commit f0569752 authored by Haynes Mathew George's avatar Haynes Mathew George Committed by Steve Kondik
Browse files

audioflinger: update track ready condition

Signal track ready if the track isStopping().

Change-Id: Ie279995d5f90fa8211a20dfbeacc1cf9b921d0bf
CRs-Fixed: 592189
parent af6b79f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -622,7 +622,7 @@ size_t AudioFlinger::PlaybackThread::Track::framesReleased() const

// Don't call for fast tracks; the framesReady() could result in priority inversion
bool AudioFlinger::PlaybackThread::Track::isReady() const {
    if (mFillingUpStatus != FS_FILLING || isStopped() || isPausing()) {
    if (mFillingUpStatus != FS_FILLING || isStopped() || isPausing() || isStopping()) {
        return true;
    }