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

Commit 394b76dd authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Reset direct output thread timestamp on flush"

parents 733c7287 999f0e88
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 {