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

Issue 2388153004: Stop using old AudioCodingModule::RegisterReceiveCodec overloads (Closed)

Created:
4 years, 2 months ago by kwiberg-webrtc
Modified:
4 years, 1 month ago
Reviewers:
ossu, kjellander_webrtc
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, Andrew MacDonald, henrika_webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc, the sun
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Stop using old AudioCodingModule::RegisterReceiveCodec overloads BUG=webrtc:5801 Committed: https://crrev.com/da2bf4e150a1bded53b74340b9dcc879da91b93f Cr-Commit-Position: refs/heads/master@{#14753}

Patch Set 1 #

Total comments: 11

Patch Set 2 : rebase #

Patch Set 3 : review comments #

Patch Set 4 : build fix #

Patch Set 5 : avoid narrowing conversions from size_t to int #

Total comments: 1

Patch Set 6 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -89 lines) Patch
M .gn View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/modules/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_coding/BUILD.gn View 1 2 3 4 5 3 chunks +27 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_receive_test.h View 1 1 chunk +0 lines, -6 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/acm_receive_test.cc View 1 2 3 chunks +7 lines, -12 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/audio_coding_module_unittest.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/audio_coding.gypi View 1 2 1 chunk +2 lines, -0 lines 2 comments Download
A + webrtc/modules/audio_coding/codecs/audio_format_conversion.h View 1 2 3 4 5 1 chunk +7 lines, -11 lines 0 comments Download
A webrtc/modules/audio_coding/codecs/audio_format_conversion.cc View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/test/APITest.cc View 1 2 7 chunks +17 lines, -8 lines 0 comments Download
M webrtc/modules/audio_coding/test/EncodeDecodeTest.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/test/TestAllCodecs.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/test/TestRedFec.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/test/TestStereo.cc View 1 2 6 chunks +14 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/test/TestVADDTX.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/test/TwoWayCommunication.cc View 1 2 4 chunks +19 lines, -9 lines 0 comments Download
M webrtc/modules/audio_coding/test/delay_test.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/test/iSACTest.cc View 1 2 2 chunks +9 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/test/insert_packet_with_timing.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/test/opus_test.cc View 1 2 3 chunks +7 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/test/target_delay_unittest.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/modules/utility/source/coder.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/voice_engine/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 4 5 6 chunks +11 lines, -13 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (12 generated)
kwiberg-webrtc
This obviously still needs some bugfixing, but it may be useful to start reviewing it ...
4 years, 2 months ago (2016-10-05 13:03:45 UTC) #4
ossu
I've left some comments below. I bet you've thought of some of these already. https://codereview.webrtc.org/2388153004/diff/40001/webrtc/modules/audio_coding/codecs/audio_format.h ...
4 years, 2 months ago (2016-10-05 13:39:59 UTC) #5
kwiberg-webrtc
No new patch set posted yet. https://codereview.webrtc.org/2388153004/diff/40001/webrtc/modules/audio_coding/codecs/audio_format.h File webrtc/modules/audio_coding/codecs/audio_format.h (right): https://codereview.webrtc.org/2388153004/diff/40001/webrtc/modules/audio_coding/codecs/audio_format.h#newcode60 webrtc/modules/audio_coding/codecs/audio_format.h:60: SdpAudioFormat CodecInstToSdp(const CodecInst& ...
4 years, 2 months ago (2016-10-06 12:14:53 UTC) #6
kwiberg-webrtc
New patch set(s) posted. I recommend that you look at the #2 -> #5 diff, ...
4 years, 2 months ago (2016-10-07 11:49:10 UTC) #7
kwiberg-webrtc
https://codereview.webrtc.org/2388153004/diff/120001/webrtc/modules/audio_coding/audio_coding.gypi File webrtc/modules/audio_coding/audio_coding.gypi (right): https://codereview.webrtc.org/2388153004/diff/120001/webrtc/modules/audio_coding/audio_coding.gypi#newcode91 webrtc/modules/audio_coding/audio_coding.gypi:91: 'codecs/audio_format_conversion.h', I'm cheating and just sticking the audio_format_conversion files ...
4 years, 2 months ago (2016-10-07 12:13:11 UTC) #8
kwiberg-webrtc
New rebase uploaded, since it's been a while, but it contains nothing interesting. I still ...
4 years, 2 months ago (2016-10-21 09:22:58 UTC) #9
ossu
Ow, sorry! I think I thought there was more to be done here, or I ...
4 years, 2 months ago (2016-10-21 12:24:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2388153004/140001
4 years, 2 months ago (2016-10-21 12:54:24 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_msan on master.tryserver.webrtc (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.webrtc/builders/linux_msan/builds/14110) presubmit on master.tryserver.webrtc (JOB_TIMED_OUT, ...
4 years, 2 months ago (2016-10-21 14:55:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2388153004/140001
4 years, 1 month ago (2016-10-24 09:20:15 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 1 month ago (2016-10-24 11:20:44 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2388153004/140001
4 years, 1 month ago (2016-10-24 13:08:20 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_asan on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 1 month ago (2016-10-24 15:08:53 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2388153004/140001
4 years, 1 month ago (2016-10-24 20:44:07 UTC) #24
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 1 month ago (2016-10-24 20:47:12 UTC) #25
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/da2bf4e150a1bded53b74340b9dcc879da91b93f Cr-Commit-Position: refs/heads/master@{#14753}
4 years, 1 month ago (2016-10-24 20:47:20 UTC) #27
kjellander_webrtc
https://codereview.webrtc.org/2388153004/diff/140001/webrtc/modules/audio_coding/audio_coding.gypi File webrtc/modules/audio_coding/audio_coding.gypi (right): https://codereview.webrtc.org/2388153004/diff/140001/webrtc/modules/audio_coding/audio_coding.gypi#newcode90 webrtc/modules/audio_coding/audio_coding.gypi:90: 'codecs/audio_format_conversion.cc', Can we make the same changes here as ...
4 years, 1 month ago (2016-11-02 06:37:53 UTC) #29
kwiberg-webrtc
https://codereview.webrtc.org/2388153004/diff/140001/webrtc/modules/audio_coding/audio_coding.gypi File webrtc/modules/audio_coding/audio_coding.gypi (right): https://codereview.webrtc.org/2388153004/diff/140001/webrtc/modules/audio_coding/audio_coding.gypi#newcode90 webrtc/modules/audio_coding/audio_coding.gypi:90: 'codecs/audio_format_conversion.cc', On 2016/11/02 06:37:53, kjellander_webrtc wrote: > Can we ...
4 years, 1 month ago (2016-11-02 10:25:27 UTC) #30
kjellander_webrtc
4 years, 1 month ago (2016-11-02 10:28:11 UTC) #31
Message was sent while issue was closed.
On 2016/11/02 10:25:27, kwiberg-webrtc wrote:
>
https://codereview.webrtc.org/2388153004/diff/140001/webrtc/modules/audio_cod...
> File webrtc/modules/audio_coding/audio_coding.gypi (right):
> 
>
https://codereview.webrtc.org/2388153004/diff/140001/webrtc/modules/audio_cod...
> webrtc/modules/audio_coding/audio_coding.gypi:90:
> 'codecs/audio_format_conversion.cc',
> On 2016/11/02 06:37:53, kjellander_webrtc wrote:
> > Can we make the same changes here as in the GN build please? It's causing
> > problems switching from GYP to GN for internal projects.
> 
> This won't be needed if https://codereview.webrtc.org/2472643003/ lands,
right?

Right, I think that'll solve the build problem (but it remains to be tested to
be sure).

Powered by Google App Engine
This is Rietveld 408576698