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

Commit b59997f7 authored by Andreas Huber's avatar Andreas Huber Committed by Android (Google) Code Review
Browse files

Merge "Properly reset the number of frames we think we've written to the audio sink"

parents 093d0f01 9ba16f6c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -180,6 +180,8 @@ void AudioPlayer::pause(bool playPendingSamples) {
        } else {
            mAudioTrack->stop();
        }

        mNumFramesPlayed = 0;
    } else {
        if (mAudioSink.get() != NULL) {
            mAudioSink->pause();