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
@ -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…
x
Reference in New Issue
Block a user