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

Commit 5e28463d authored by James Dong's avatar James Dong Committed by Android (Google) Code Review
Browse files

Merge "Flush resets the count of played audio frames"

parents 781ae92f dbf85120
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -508,6 +508,9 @@ status_t AudioPlayer::seekTo(int64_t time_us) {
    mReachedEOS = false;
    mSeekTimeUs = time_us;

    // Flush resets the number of played frames
    mNumFramesPlayed = 0;

    if (mAudioSink != NULL) {
        mAudioSink->flush();
    } else {