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

[media] Revise OpusAudioDecoder::Reset() via OPUS_RESET_STATE #2727

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

borongc
Copy link
Contributor

@borongc borongc commented Mar 27, 2024

This PR (#2501) recreates OpusAudioDecoder in OpusAudioDecoder::Reset(), as originally Cobalt recreates OpusAudioDecoder on PartialAudio tests. Change to reset a previously initialized state using the #OPUS_RESET_STATE CTL as stated in the opus document.

b/327281974

Copy link

codecov bot commented Mar 27, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 59.72%. Comparing base (52dee1f) to head (2e3809d).
Report is 15 commits behind head on main.

❗ Current head 2e3809d differs from pull request most recent head b398b29. Consider uploading reports for the commit b398b29 to get more accurate results

Files Patch % Lines
starboard/shared/opus/opus_audio_decoder.cc 66.66% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2727      +/-   ##
==========================================
- Coverage   59.74%   59.72%   -0.03%     
==========================================
  Files        1825     1825              
  Lines       88124    88130       +6     
==========================================
- Hits        52652    52634      -18     
- Misses      35472    35496      +24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@borongc borongc force-pushed the reset_opus_decoder branch 2 times, most recently from 4cd4d6d to d2ba8e8 Compare March 27, 2024 22:24
@borongc borongc force-pushed the reset_opus_decoder branch 3 times, most recently from e01425d to 84b2718 Compare April 1, 2024 18:41
starboard/shared/opus/opus_audio_decoder.cc Outdated Show resolved Hide resolved
@borongc borongc force-pushed the reset_opus_decoder branch 5 times, most recently from 2e3809d to f4bcc20 Compare April 8, 2024 16:45
This PR (youtube#2501) recreating OpusAUdioDecoder in Reset(). Change to reset a previously initialized state using the #OPUS_RESET_STATE CTL as stated in the opus document.

b/327281974
@borongc borongc merged commit 8a15dd8 into youtube:main Apr 11, 2024
382 of 383 checks passed
@borongc borongc deleted the reset_opus_decoder branch April 11, 2024 23:40
@borongc borongc added the cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch label Apr 15, 2024
cobalt-github-releaser-bot pushed a commit that referenced this pull request Apr 15, 2024
This PR (#2501) recreates
OpusAudioDecoder in OpusAudioDecoder::Reset(), as originally Cobalt
recreates OpusAudioDecoder on PartialAudio tests. Change to reset a
previously initialized state using the #OPUS_RESET_STATE CTL as stated
in the opus document.

b/327281974

(cherry picked from commit 8a15dd8)
andrewsavage1 pushed a commit to andrewsavage1/cobalt that referenced this pull request Apr 16, 2024
…e#2727)

This PR (youtube#2501) recreates
OpusAudioDecoder in OpusAudioDecoder::Reset(), as originally Cobalt
recreates OpusAudioDecoder on PartialAudio tests. Change to reset a
previously initialized state using the #OPUS_RESET_STATE CTL as stated
in the opus document.

b/327281974
borongc added a commit that referenced this pull request Apr 16, 2024
This PR (#2501) recreates
OpusAudioDecoder in OpusAudioDecoder::Reset(), as originally Cobalt
recreates OpusAudioDecoder on PartialAudio tests. Change to reset a
previously initialized state using the #OPUS_RESET_STATE CTL as stated
in the opus document.

b/327281974

(cherry picked from commit 8a15dd8)
borongc added a commit that referenced this pull request Apr 17, 2024
…US_RESET_STATE (#2945)

Refer to the original PR: #2727

This PR (#2501) recreates
OpusAudioDecoder in OpusAudioDecoder::Reset(), as originally Cobalt
recreates OpusAudioDecoder on PartialAudio tests. Change to reset a
previously initialized state using the #OPUS_RESET_STATE CTL as stated
in the opus document.

b/327281974

Co-authored-by: Bo-Rong Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch on_device
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants