Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry pick PR #2672: [media] Reset audio decoder via AudioDecoder::Reset() #2685

Merged
merged 1 commit into from
Apr 3, 2024

Commits on Apr 2, 2024

  1. Cherry pick PR #2672: [media] Reset audio decoder via AudioDecoder::R…

    …eset() (#2685)
    
    Refer to the original PR: #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
    borongc committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    a471ea5 View commit details
    Browse the repository at this point in the history