Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Issue 2024633002: AudioDecoder: New method SampleRateHz, + implementations for our codecs (Closed)

Created:
4 years, 6 months ago by kwiberg-webrtc
Modified:
4 years, 6 months ago
Reviewers:
hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

AudioDecoder: New method SampleRateHz, + implementations for our codecs This will let NetEq (and the factory, and every layer in between) keep track of just the decoder, instead of decoder and sample rate. BUG=webrtc:5801 Committed: https://crrev.com/6c2eab34f8ff1f7a724622e3473858a4c0724bd8 Cr-Commit-Position: refs/heads/master@{#12968}

Patch Set 1 #

Total comments: 4

Patch Set 2 : add TODO fix PCM A U at 8 kHz #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -27 lines) Patch
M webrtc/modules/audio_coding/codecs/audio_decoder.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/audio_decoder.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.cc View 1 3 chunks +13 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/g711/audio_decoder_pcm.cc View 1 4 chunks +10 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.h View 3 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/g722/audio_decoder_g722.cc View 4 chunks +10 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/ilbc/audio_decoder_ilbc.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/audio_decoder_isac_t.h View 3 chunks +11 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/isac/audio_decoder_isac_t_impl.h View 4 chunks +37 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/opus/audio_decoder_opus.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.h View 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/codecs/pcm16b/audio_decoder_pcm16b.cc View 2 chunks +10 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (3 generated)
kwiberg-webrtc
4 years, 6 months ago (2016-05-30 12:00:24 UTC) #2
hlundin-webrtc
LG, but I think you should hard-code PCM u/A to 8000 Hz. https://codereview.webrtc.org/2024633002/diff/1/webrtc/modules/audio_coding/codecs/audio_decoder.cc File webrtc/modules/audio_coding/codecs/audio_decoder.cc ...
4 years, 6 months ago (2016-05-30 14:10:17 UTC) #3
kwiberg-webrtc
New patch set uploaded. https://codereview.webrtc.org/2024633002/diff/1/webrtc/modules/audio_coding/codecs/audio_decoder.cc File webrtc/modules/audio_coding/codecs/audio_decoder.cc (right): https://codereview.webrtc.org/2024633002/diff/1/webrtc/modules/audio_coding/codecs/audio_decoder.cc#newcode85 webrtc/modules/audio_coding/codecs/audio_decoder.cc:85: int AudioDecoder::SampleRateHz() const { On ...
4 years, 6 months ago (2016-05-31 08:26:05 UTC) #4
hlundin-webrtc
lgtm
4 years, 6 months ago (2016-05-31 08:36:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2024633002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2024633002/20001
4 years, 6 months ago (2016-05-31 08:38:39 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-05-31 09:46:25 UTC) #8
commit-bot: I haz the power
4 years, 6 months ago (2016-05-31 09:46:32 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6c2eab34f8ff1f7a724622e3473858a4c0724bd8
Cr-Commit-Position: refs/heads/master@{#12968}

Powered by Google App Engine
This is Rietveld 408576698