-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always check audio processor chain for media playout duration
When the PlaybackParameters are set to their DEFAULT value, we currently bypass the audio processor chain when determining the output media position, under the assumption that no timestamp change happens in the audio processors. This assumption may not be true as the audio processors can change playout durations on their own accord independent of the provided PlaybackParameters. To correctly reflect any updated playout duration, we can just always check the audio processor chain. The default implementation will continue to assume that only the SonicAudioProcessor changes the playout duration. PiperOrigin-RevId: 631726112
- Loading branch information
1 parent
49c75fd
commit 38b9a5d
Showing
2 changed files
with
72 additions
and
19 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
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