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

Commit adb6e8dc authored by Glenn Kasten's avatar Glenn Kasten Committed by Android (Google) Code Review
Browse files

Merge "Fix regression in AudioTrack::pause()"

parents 36513e35 ca8b2801
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()