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

Commit b657f765 authored by Glenn Kasten's avatar Glenn Kasten Committed by The Android Automerger
Browse files

Fix regression in AudioTrack::pause()

Bug: 6379646
Change-Id: I12b53bc4118499ddc73a53a981f3f56328140868
parent 7d351630
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1402,7 +1402,10 @@ bool AudioTrack::AudioTrackThread::threadLoop()
            return true;
        }
    }
    return mReceiver.processAudioBuffer(this);
    if (!mReceiver.processAudioBuffer(this)) {
        pause();
    }
    return true;
}

status_t AudioTrack::AudioTrackThread::readyToRun()