Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[media] Reset audio decoder via AudioDecoder::Reset() (#2672)
1. When AdaptiveAudioDecoder() resets |audio_decoder_|, use audio_decoder_->Reset() to reset |audio_decoder_|. 2. The PR (#2501) does not clean up |resampler_| and |channel_mixer_|, which causes some tests failed on ps5. This PR cleans up |resampler_| and |channel_mixer_| in AdaptiveAudioDecoder::Reset() to fix the SbPlayerGetAudioConfigurationTest.MultipleSeeks test failures. b/327229953
- Loading branch information