mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Fix initial application of playback parameters
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=192744823
This commit is contained in:
parent
b4a3385a6f
commit
22b8ab5c09
1 changed files with 4 additions and 2 deletions
|
|
@ -466,8 +466,10 @@ public final class DefaultAudioSink implements AudioSink {
|
|||
}
|
||||
}
|
||||
|
||||
// The old playback parameters may no longer be applicable so try to reset them now.
|
||||
setPlaybackParameters(playbackParameters);
|
||||
playbackParameters =
|
||||
canApplyPlaybackParameters
|
||||
? applyPlaybackParameters(playbackParameters)
|
||||
: PlaybackParameters.DEFAULT;
|
||||
setupAudioProcessors();
|
||||
|
||||
audioTrackPositionTracker.setAudioTrack(
|
||||
|
|
|
|||
Loading…
Reference in a new issue