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

Commit 1976ed32 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Reset direct output thread timestamp on flush" am: 394b76dd

Change-Id: I47acc36fbc439b4022e9f367ac0c38fc97e3979f
parents 9279fa95 394b76dd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6013,6 +6013,7 @@ void AudioFlinger::DirectOutputThread::flushHw_l()
    mHwPaused = false;
    mFlushPending = false;
    mTimestampVerifier.discontinuity(); // DIRECT and OFFLOADED flush resets frame count.
    mTimestamp.clear();
}

int64_t AudioFlinger::DirectOutputThread::computeWaitTimeNs_l() const {