Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry pick PR #2875: [media] Fix failing to reset all status in Adap…
…tiveAudioDecoder (#2926) Refer to the original PR: #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 Co-authored-by: Bo-Rong Chen <[email protected]>
- Loading branch information