
AudioTrack.setPlaybackParams can be used to adjust playback speed. This is preferable to application-level speed adjustment (currently implemented in ExoPlayer) from API 23 because the speed change occurs in the mixer, which means that the audio track buffer doesn't need to drain out before the speed adjustment takes effect. Issue: #7502 PiperOrigin-RevId: 326392301