-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix position tracking bug for inaccurate audio processors
If audio processors report a drifting position, we currently update the media position parameters to correct this drift. However, this means we pass in the wrong value to audioProcessorChain.getMediaDuration, which reuqires the time since the last flush. To fix this problem, we can instead save the drift seperately and apply it where needed. PiperOrigin-RevId: 692202219 (cherry picked from commit 06718c5)
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters