Extrapolate playback position during audio offload sleep
While playback thread is 'asleep' during audio offload playback, the playbackInfo.positionUs is not being constantly updated. During this time, the returned value from getCurrentPosition should return an estimate based on the most recent value and playback speed. PiperOrigin-RevId: 516550509
Showing
with
213 additions
and
13 deletions
Please
register
or
sign in
to comment