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

Issue 1899733002: NetEq: Simplify DecoderDatabase::DecoderInfo (Closed)

Created:
4 years, 8 months ago by kwiberg-webrtc
Modified:
4 years, 8 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, the sun, ossu
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

NetEq: Simplify DecoderDatabase::DecoderInfo By eliminating one of the two constructors, handling decoder ownership with a unique_ptr instead of a raw pointer, and making all member variables const (except one, which is made private instead). BUG=webrtc:5801 Committed: https://crrev.com/0fa0a97cf3ff656a70e5b2955eeab5ef38982a04 Cr-Commit-Position: refs/heads/master@{#12425}

Patch Set 1 : #

Total comments: 18

Patch Set 2 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -92 lines) Patch
M webrtc/modules/audio_coding/neteq/decoder_database.h View 1 chunk +20 lines, -19 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database.cc View 6 chunks +31 lines, -25 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc View 1 2 chunks +2 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/payload_splitter_unittest.cc View 5 chunks +19 lines, -19 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc View 1 9 chunks +28 lines, -23 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
kwiberg-webrtc
4 years, 8 months ago (2016-04-18 19:17:17 UTC) #3
hlundin-webrtc
Nice. Please, see comments. https://codereview.webrtc.org/1899733002/diff/20001/webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc File webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc (right): https://codereview.webrtc.org/1899733002/diff/20001/webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc#newcode59 webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc:59: EXPECT_FALSE(info->external_decoder); Lines 56 and 59 ...
4 years, 8 months ago (2016-04-19 06:47:00 UTC) #4
kwiberg-webrtc
Comments addressed in patch set #2. https://codereview.webrtc.org/1899733002/diff/20001/webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc File webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc (right): https://codereview.webrtc.org/1899733002/diff/20001/webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc#newcode59 webrtc/modules/audio_coding/neteq/decoder_database_unittest.cc:59: EXPECT_FALSE(info->external_decoder); On 2016/04/19 ...
4 years, 8 months ago (2016-04-19 08:57:31 UTC) #5
hlundin-webrtc
lgtm https://codereview.webrtc.org/1899733002/diff/20001/webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc File webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc (right): https://codereview.webrtc.org/1899733002/diff/20001/webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc#newcode74 webrtc/modules/audio_coding/neteq/timestamp_scaler_unittest.cc:74: const DecoderDatabase::DecoderInfo info(NetEqDecoder::kDecoderG722, "", 8000, On 2016/04/19 08:57:30, ...
4 years, 8 months ago (2016-04-19 09:31:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1899733002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1899733002/40001
4 years, 8 months ago (2016-04-19 10:36:11 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 8 months ago (2016-04-19 10:57:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1899733002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1899733002/40001
4 years, 8 months ago (2016-04-19 11:04:13 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 8 months ago (2016-04-19 12:03:49 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-19 12:03:57 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0fa0a97cf3ff656a70e5b2955eeab5ef38982a04
Cr-Commit-Position: refs/heads/master@{#12425}

Powered by Google App Engine
This is Rietveld 408576698