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

Commit 38b856f7 authored by Dorin Drimus's avatar Dorin Drimus Committed by Android (Google) Code Review
Browse files

Merge "Fix playbackHeadPosition after starting tracks with a startThresholdInFrames" into main

parents 34dbf225 b882d487
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1233,7 +1233,7 @@ status_t Track::start(AudioSystem::sync_event_t event __unused,
                && (state == IDLE || state == STOPPED || state == FLUSHED)) {
            mFrameMap.reset();

            if (!isFastTrack() && (isDirect() || isOffloaded())) {
            if (!isFastTrack()) {
                // Start point of track -> sink frame map. If the HAL returns a
                // frame position smaller than the first written frame in
                // updateTrackFrameInfo, the timestamp can be interpolated