Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[media] Fix failing to reset all status in AdaptiveAudioDecoder (#2875)
1. This PR (#2287) returns an empyt DecodedAudio if it is end of stream. However, |first_input_written_| doesn't reset during AdaptiveAudioDecoder::ResetInternal(), causing it failed on AudioDecoderTest reset-related tests. 2. On ps5, |output_format_checked_| doesn't reset cause |resampler_| and |channel_mixer_| are nullptr, causing AudioDecoderTests fails. b/333416579 b/333412348 b/320568573 Test-On-Device: true (cherry picked from commit 32a2037)
- Loading branch information