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

Issue 1424083002: Make an enum class out of NetEqDecoder, and hide the neteq_decoders_ table (Closed)

Created:
5 years, 1 month ago by kwiberg-webrtc
Modified:
5 years, 1 month ago
Reviewers:
hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, hlundin-webrtc, peah-webrtc, kwiberg-webrtc, tlegrand-webrtc, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Make an enum class out of NetEqDecoder, and hide the neteq_decoders_ table This operation was relatively simple, since no one was doing anything fishy with this enum. A large number of lines had to be changed because the enum values now live in their own namespace, but this is arguably worth it since it is now much clearer what sort of constant they are. BUG=webrtc:5028 Committed: https://crrev.com/ee1879ca40ffe4af9bb9613e03eacc5c2c4881fc Cr-Commit-Position: refs/heads/master@{#10449}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Custom DCHECK error messages #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+590 lines, -518 lines) Patch
M webrtc/modules/audio_coding/main/acm2/acm_codec_database.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/acm_codec_database.cc View 1 2 1 chunk +17 lines, -22 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/acm_receiver.cc View 1 2 1 chunk +11 lines, -9 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/rent_a_codec.h View 2 chunks +33 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/main/acm2/rent_a_codec.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/audio_decoder_impl.h View 2 chunks +2 lines, -29 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/audio_decoder_impl.cc View 1 2 3 chunks +81 lines, -81 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/audio_decoder_unittest.cc View 1 2 1 chunk +63 lines, -54 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database.h View 1 chunk +2 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc View 9 chunks +26 lines, -21 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/delay_manager.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/include/neteq.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_external_decoder_unittest.cc View 2 chunks +8 lines, -6 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl.cc View 1 2 3 chunks +12 lines, -10 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc View 1 2 14 chunks +32 lines, -30 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_stereo_unittest.cc View 1 2 1 chunk +9 lines, -9 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_unittest.cc View 1 2 2 chunks +24 lines, -18 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/payload_splitter.cc View 2 chunks +17 lines, -17 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/payload_splitter_unittest.cc View 9 chunks +55 lines, -38 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/test/RTPencode.cc View 1 2 17 chunks +72 lines, -72 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/test/neteq_ilbc_quality_test.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/test/neteq_isac_quality_test.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/test/neteq_opus_quality_test.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/test/neteq_pcmu_quality_test.cc View 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/timestamp_scaler.cc View 1 2 2 chunks +7 lines, -7 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc View 9 chunks +14 lines, -10 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_performance_test.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/tools/neteq_rtpplay.cc View 1 2 3 chunks +61 lines, -51 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
kwiberg-webrtc
PTAL
5 years, 1 month ago (2015-10-28 10:07:53 UTC) #6
hlundin-webrtc
Nice. LGTM with one nit. https://codereview.webrtc.org/1424083002/diff/60001/webrtc/modules/audio_coding/main/acm2/acm_receiver.cc File webrtc/modules/audio_coding/main/acm2/acm_receiver.cc (right): https://codereview.webrtc.org/1424083002/diff/60001/webrtc/modules/audio_coding/main/acm2/acm_receiver.cc#newcode447 webrtc/modules/audio_coding/main/acm2/acm_receiver.cc:447: RTC_DCHECK(cid); // acm_codec_id was ...
5 years, 1 month ago (2015-10-28 15:14:47 UTC) #7
kwiberg-webrtc
New patch set posted with exactly the changes you asked for. https://codereview.webrtc.org/1424083002/diff/60001/webrtc/modules/audio_coding/main/acm2/acm_receiver.cc File webrtc/modules/audio_coding/main/acm2/acm_receiver.cc (right): ...
5 years, 1 month ago (2015-10-29 09:29:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424083002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424083002/80001
5 years, 1 month ago (2015-10-29 10:46:56 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/1458)
5 years, 1 month ago (2015-10-29 10:53:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424083002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424083002/100001
5 years, 1 month ago (2015-10-29 11:05:45 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:100001)
5 years, 1 month ago (2015-10-29 13:20:32 UTC) #17
commit-bot: I haz the power
5 years, 1 month ago (2015-10-29 13:20:46 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ee1879ca40ffe4af9bb9613e03eacc5c2c4881fc
Cr-Commit-Position: refs/heads/master@{#10449}

Powered by Google App Engine
This is Rietveld 408576698