Commit 22b8ab5c by andrewlewis Committed by Oliver Woodman

Fix initial application of playback parameters

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=192744823
parent b4a3385a
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment