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

Issue 2355503002: Stopped using the NetEqDecoder enum internally in NetEq. (Closed)

Created:
4 years, 3 months ago by ossu
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Stopped using the NetEqDecoder enum internally in NetEq. NetEqDecoder is still used in the external interfaces, but this change opens up the ability to use SdpAudioFormats directly, once appropriate interfaces have been added. BUG=webrtc:5805 Committed: https://crrev.com/f1b08da5b48066f8e03ca3901bfabfdb0939a320 Cr-Commit-Position: refs/heads/master@{#14368}

Patch Set 1 #

Total comments: 30

Patch Set 2 : A couple of fixes. Improved comments. #

Total comments: 1

Patch Set 3 : Rebase #

Total comments: 12

Patch Set 4 : Clarified comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -179 lines) Patch
M webrtc/modules/audio_coding/acm2/acm_receiver.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/modules/audio_coding/acm2/rent_a_codec.cc View 1 chunk +13 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database.h View 1 2 3 5 chunks +26 lines, -26 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database.cc View 1 2 7 chunks +63 lines, -64 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc View 1 2 4 chunks +7 lines, -21 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/delay_manager.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/delay_manager.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/include/neteq.h View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/mock/mock_audio_decoder.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/mock/mock_decoder_database.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/mock/mock_delay_manager.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.cc View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc View 1 2 3 chunks +1 line, -7 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/packet_buffer_unittest.cc View 5 chunks +7 lines, -12 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/timestamp_scaler.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc View 1 9 chunks +10 lines, -18 lines 0 comments Download

Messages

Total messages: 30 (17 generated)
ossu
https://codereview.webrtc.org/2355503002/diff/1/webrtc/modules/audio_coding/neteq/delay_manager.cc File webrtc/modules/audio_coding/neteq/delay_manager.cc (right): https://codereview.webrtc.org/2355503002/diff/1/webrtc/modules/audio_coding/neteq/delay_manager.cc#newcode374 webrtc/modules/audio_coding/neteq/delay_manager.cc:374: void DelayManager::LastDecodedWasCngOrDtmf(bool it_was) { It has to be possible ...
4 years, 3 months ago (2016-09-19 16:07:18 UTC) #1
kwiberg-webrtc
https://codereview.webrtc.org/2355503002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.cc File webrtc/modules/audio_coding/neteq/decoder_database.cc (right): https://codereview.webrtc.org/2355503002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.cc#newcode40 webrtc/modules/audio_coding/neteq/decoder_database.cc:40: : audio_format_(*acm2::RentACodec::NetEqDecoderToSdpAudioFormat(ct)), This conversion can still fail, right? Maybe ...
4 years, 3 months ago (2016-09-20 16:05:43 UTC) #3
kwiberg-webrtc
Adding a competent reviewer.
4 years, 3 months ago (2016-09-20 16:06:17 UTC) #5
ossu
https://codereview.webrtc.org/2355503002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.cc File webrtc/modules/audio_coding/neteq/decoder_database.cc (right): https://codereview.webrtc.org/2355503002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.cc#newcode40 webrtc/modules/audio_coding/neteq/decoder_database.cc:40: : audio_format_(*acm2::RentACodec::NetEqDecoderToSdpAudioFormat(ct)), On 2016/09/20 16:05:43, kwiberg-webrtc wrote: > This ...
4 years, 3 months ago (2016-09-21 09:10:56 UTC) #6
kwiberg-webrtc
https://codereview.webrtc.org/2355503002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.cc File webrtc/modules/audio_coding/neteq/decoder_database.cc (right): https://codereview.webrtc.org/2355503002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.cc#newcode40 webrtc/modules/audio_coding/neteq/decoder_database.cc:40: : audio_format_(*acm2::RentACodec::NetEqDecoderToSdpAudioFormat(ct)), On 2016/09/21 09:10:55, ossu wrote: > On ...
4 years, 3 months ago (2016-09-21 09:21:19 UTC) #7
ossu
https://codereview.webrtc.org/2355503002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.cc File webrtc/modules/audio_coding/neteq/decoder_database.cc (right): https://codereview.webrtc.org/2355503002/diff/1/webrtc/modules/audio_coding/neteq/decoder_database.cc#newcode57 webrtc/modules/audio_coding/neteq/decoder_database.cc:57: // These are not real decoders. On 2016/09/21 09:21:19, ...
4 years, 3 months ago (2016-09-21 15:46:30 UTC) #8
ossu
Did a rebase to incorporate the changes to DecoderDatabase::GetFormat.
4 years, 3 months ago (2016-09-22 10:58:14 UTC) #15
kwiberg-webrtc
lgtm https://codereview.webrtc.org/2355503002/diff/20001/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc File webrtc/modules/audio_coding/neteq/timestamp_scaler.cc (right): https://codereview.webrtc.org/2355503002/diff/20001/webrtc/modules/audio_coding/neteq/timestamp_scaler.cc#newcode50 webrtc/modules/audio_coding/neteq/timestamp_scaler.cc:50: // we cannot do any timestamp scaling. Excellent.
4 years, 3 months ago (2016-09-22 12:23:48 UTC) #18
hlundin-webrtc
A number of nits and questions. Otherwise, LGTM. https://codereview.webrtc.org/2355503002/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.cc File webrtc/modules/audio_coding/neteq/decoder_database.cc (right): https://codereview.webrtc.org/2355503002/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.cc#newcode125 webrtc/modules/audio_coding/neteq/decoder_database.cc:125: const ...
4 years, 3 months ago (2016-09-22 12:36:16 UTC) #19
ossu
https://codereview.webrtc.org/2355503002/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.cc File webrtc/modules/audio_coding/neteq/decoder_database.cc (right): https://codereview.webrtc.org/2355503002/diff/40001/webrtc/modules/audio_coding/neteq/decoder_database.cc#newcode125 webrtc/modules/audio_coding/neteq/decoder_database.cc:125: const auto opt_format = On 2016/09/22 12:36:16, hlundin-webrtc wrote: ...
4 years, 3 months ago (2016-09-22 14:43:06 UTC) #20
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/2355503002/60001
4 years, 3 months ago (2016-09-23 09:08:43 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-23 09:19:46 UTC) #28
commit-bot: I haz the power
4 years, 3 months ago (2016-09-23 09:19:52 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f1b08da5b48066f8e03ca3901bfabfdb0939a320
Cr-Commit-Position: refs/heads/master@{#14368}

Powered by Google App Engine
This is Rietveld 408576698