-
Notifications
You must be signed in to change notification settings - Fork 116
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
[media] Reset audio decoder via AudioDecoder::Reset() #2672
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
borongc
changed the title
[media] Reset audio decoder via Reset()
[media] Reset audio decoder via AudioDecoder::Reset()
Mar 21, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2672 +/- ##
==========================================
- Coverage 58.24% 58.24% -0.01%
==========================================
Files 1794 1794
Lines 84889 84891 +2
==========================================
+ Hits 49443 49444 +1
- Misses 35446 35447 +1 ☔ View full report in Codecov by Sentry. |
borongc
force-pushed
the
reset_audio_decoder
branch
from
March 21, 2024 22:25
157c942
to
ee549e7
Compare
1. When AdaptiveAudioDecoder() resets |audio_decoder_|, use audio_decoder_->Reset() to reset |audio_decoder_|. 2. The PR (youtube#2501) does not clean up |resampler_| and |channel_mixer_|, which causes tests failed on ps5. b/327229953
borongc
force-pushed
the
reset_audio_decoder
branch
from
March 22, 2024 18:59
ee549e7
to
1f46758
Compare
osagie98
approved these changes
Mar 22, 2024
cobalt-github-releaser-bot
pushed a commit
that referenced
this pull request
Mar 22, 2024
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 (cherry picked from commit d66b09b)
borongc
added a commit
that referenced
this pull request
Mar 30, 2024
…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
added a commit
that referenced
this pull request
Apr 2, 2024
…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
added a commit
that referenced
this pull request
Apr 3, 2024
…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 Co-authored-by: Bo-Rong Chen <borongchen@google.com>
borongc
added a commit
to borongc/cobalt
that referenced
this pull request
Apr 9, 2024
1. When AdaptiveAudioDecoder() resets |audio_decoder_|, use audio_decoder_->Reset() to reset |audio_decoder_|. 2. The PR (youtube#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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
b/327229953