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

Issue 2307533004: Moving/renaming webrtc/common.h. (Closed)

Created:
4 years, 3 months ago by the sun
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, video-team_agora.io, hlundin-webrtc, yujie_mao (webrtc), kwiberg-webrtc, Andrew MacDonald, zhengzhonghou_agora.io, henrika_webrtc, stefan-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, qiang.lu, niklas.enbom, aluebs-webrtc, peah-webrtc, minyue-webrtc, perkj_webrtc, mflodman, bjornv1
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Moving/renaming webrtc/common.h. This file defines webrtc::Config which was mostly used by modules/audio_processing. The files webrtc/common.h, webrtc/common.cc and webrtc/test/common_unittests.cc are moved to modules/audio_processing and the few remaining uses of webrtc::Config are replaced with simpler code. - For NetEq and pacing configuration, a VoEBase::ChannelConfig is passed to VoEBase::CreateChannel(). - Removes the need for VoiceEngine::Create(const Config& config). No need to store the webrtc::Config in VoE shared state. BUG=webrtc:5879 Committed: https://crrev.com/88499ecaca050be2dd21fff17140d6681c3bac95 Cr-Commit-Position: refs/heads/master@{#14109}

Patch Set 1 #

Patch Set 2 : TODO+rebase #

Patch Set 3 : gyp fix #

Total comments: 5

Patch Set 4 : Comments+small fixes #

Total comments: 5

Patch Set 5 : Created VoEBase::ChannelConfig instead of using ACM::Config. #

Patch Set 6 : two nits #

Total comments: 10

Patch Set 7 : comments+rebase #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -461 lines) Patch
M webrtc/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/call/call_perf_tests.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
D webrtc/common.h View 1 chunk +0 lines, -134 lines 0 comments Download
D webrtc/common.cc View 1 chunk +0 lines, -23 lines 0 comments Download
M webrtc/common.gyp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/common_types.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/config.h View 1 2 chunks +0 lines, -30 lines 0 comments Download
M webrtc/media/engine/fakewebrtcvoiceengine.h View 1 2 3 4 4 chunks +15 lines, -21 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.h View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M webrtc/media/engine/webrtcvoiceengine.cc View 1 2 3 4 5 4 chunks +6 lines, -10 lines 0 comments Download
M webrtc/modules/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_coding/test/APITest.h View 2 chunks +1 line, -3 lines 0 comments Download
M webrtc/modules/audio_coding/test/APITest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M webrtc/modules/audio_coding/test/PacketLossTest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/test/TestAllCodecs.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/test/TestRedFec.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/test/TestRedFec.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/test/delay_test.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/test/utility.h View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/modules/audio_coding/test/utility.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
A + webrtc/modules/audio_processing/config_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_processing/include/audio_processing.h View 1 chunk +1 line, -1 line 0 comments Download
A + webrtc/modules/audio_processing/include/config.h View 1 2 3 3 chunks +7 lines, -8 lines 0 comments Download
A + webrtc/modules/audio_processing/include/config.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_processing/test/process_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/modules.gyp View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/test/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/test/call_test.cc View 1 2 3 4 2 chunks +3 lines, -4 lines 0 comments Download
D webrtc/test/common_unittest.cc View 1 chunk +0 lines, -83 lines 0 comments Download
M webrtc/test/mock_voice_engine.h View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/test/test.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/video_quality_test.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M webrtc/video/video_stream_decoder.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/voice_engine/channel.h View 1 2 3 4 3 chunks +3 lines, -5 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 4 5 chunks +6 lines, -19 lines 0 comments Download
M webrtc/voice_engine/channel_manager.h View 1 2 3 4 5 5 chunks +4 lines, -19 lines 0 comments Download
M webrtc/voice_engine/channel_manager.cc View 1 2 3 4 2 chunks +4 lines, -18 lines 0 comments Download
M webrtc/voice_engine/include/voe_base.h View 1 2 3 4 5 6 5 chunks +11 lines, -7 lines 0 comments Download
M webrtc/voice_engine/shared_data.h View 2 chunks +1 line, -4 lines 0 comments Download
M webrtc/voice_engine/shared_data.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.h View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M webrtc/voice_engine/voe_base_impl.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/voice_engine/voe_base_impl.cc View 1 2 3 4 2 chunks +6 lines, -12 lines 0 comments Download
M webrtc/voice_engine/voice_engine_impl.h View 3 chunks +3 lines, -7 lines 0 comments Download
M webrtc/voice_engine/voice_engine_impl.cc View 2 chunks +3 lines, -8 lines 0 comments Download

Messages

Total messages: 43 (22 generated)
the sun
4 years, 3 months ago (2016-09-01 20:26:31 UTC) #8
tommi
https://codereview.webrtc.org/2307533004/diff/40001/webrtc/test/mock_voice_engine.h File webrtc/test/mock_voice_engine.h (right): https://codereview.webrtc.org/2307533004/diff/40001/webrtc/test/mock_voice_engine.h#newcode33 webrtc/test/mock_voice_engine.h:33: : VoiceEngineImpl(), necessary? https://codereview.webrtc.org/2307533004/diff/40001/webrtc/voice_engine/voe_base_impl.cc File webrtc/voice_engine/voe_base_impl.cc (right): https://codereview.webrtc.org/2307533004/diff/40001/webrtc/voice_engine/voe_base_impl.cc#newcode367 webrtc/voice_engine/voe_base_impl.cc:367: ...
4 years, 3 months ago (2016-09-01 21:02:11 UTC) #11
kjellander_webrtc
Way to go! I guess you need to sort out the voe_auto_test issue first though. ...
4 years, 3 months ago (2016-09-02 07:00:37 UTC) #12
the sun
+stefan@, for input on always enabling voice pacing https://codereview.webrtc.org/2307533004/diff/40001/webrtc/test/mock_voice_engine.h File webrtc/test/mock_voice_engine.h (right): https://codereview.webrtc.org/2307533004/diff/40001/webrtc/test/mock_voice_engine.h#newcode33 webrtc/test/mock_voice_engine.h:33: : ...
4 years, 3 months ago (2016-09-02 07:02:46 UTC) #14
tommi
one more last thing... https://codereview.webrtc.org/2307533004/diff/60001/webrtc/media/engine/fakewebrtcvoiceengine.h File webrtc/media/engine/fakewebrtcvoiceengine.h (right): https://codereview.webrtc.org/2307533004/diff/60001/webrtc/media/engine/fakewebrtcvoiceengine.h#newcode157 webrtc/media/engine/fakewebrtcvoiceengine.h:157: size_t neteq_capacity = -1; assigning ...
4 years, 3 months ago (2016-09-02 07:59:52 UTC) #15
kwiberg-webrtc
https://codereview.webrtc.org/2307533004/diff/60001/webrtc/media/engine/fakewebrtcvoiceengine.h File webrtc/media/engine/fakewebrtcvoiceengine.h (right): https://codereview.webrtc.org/2307533004/diff/60001/webrtc/media/engine/fakewebrtcvoiceengine.h#newcode157 webrtc/media/engine/fakewebrtcvoiceengine.h:157: size_t neteq_capacity = -1; On 2016/09/02 07:59:52, tommi (webrtc) ...
4 years, 3 months ago (2016-09-02 08:05:51 UTC) #17
stefan-webrtc
lgtm for always enabling pacing. https://codereview.webrtc.org/2307533004/diff/60001/webrtc/voice_engine/channel.cc File webrtc/voice_engine/channel.cc (right): https://codereview.webrtc.org/2307533004/diff/60001/webrtc/voice_engine/channel.cc#newcode883 webrtc/voice_engine/channel.cc:883: pacing_enabled_(true), // TODO(solenberg): Remove ...
4 years, 3 months ago (2016-09-02 08:23:18 UTC) #18
the sun
Thanks for your patience - it appears I was a bit trigger happy sending this ...
4 years, 3 months ago (2016-09-02 08:54:40 UTC) #19
tommi
lgtm
4 years, 3 months ago (2016-09-02 09:02:25 UTC) #20
the sun
On 2016/09/02 09:02:25, tommi (webrtc) wrote: > lgtm kwiberg, hlundin, do you have any comments?
4 years, 3 months ago (2016-09-04 20:38:39 UTC) #22
hlundin-webrtc
Nice. A few comments/questions. https://codereview.webrtc.org/2307533004/diff/100001/webrtc/BUILD.gn File webrtc/BUILD.gn (left): https://codereview.webrtc.org/2307533004/diff/100001/webrtc/BUILD.gn#oldcode333 webrtc/BUILD.gn:333: "audio_sink.h", Why did audio_sink.h have ...
4 years, 3 months ago (2016-09-05 11:28:42 UTC) #23
kjellander_webrtc
https://codereview.webrtc.org/2307533004/diff/100001/webrtc/BUILD.gn File webrtc/BUILD.gn (left): https://codereview.webrtc.org/2307533004/diff/100001/webrtc/BUILD.gn#oldcode333 webrtc/BUILD.gn:333: "audio_sink.h", On 2016/09/05 11:28:42, hlundin-webrtc wrote: > Why did ...
4 years, 3 months ago (2016-09-05 11:49:47 UTC) #24
hlundin-webrtc
https://codereview.webrtc.org/2307533004/diff/100001/webrtc/BUILD.gn File webrtc/BUILD.gn (left): https://codereview.webrtc.org/2307533004/diff/100001/webrtc/BUILD.gn#oldcode333 webrtc/BUILD.gn:333: "audio_sink.h", On 2016/09/05 11:49:46, kjellander_webrtc wrote: > On 2016/09/05 ...
4 years, 3 months ago (2016-09-05 11:56:19 UTC) #25
kwiberg-webrtc
lgtm https://codereview.webrtc.org/2307533004/diff/100001/webrtc/voice_engine/include/voe_base.h File webrtc/voice_engine/include/voe_base.h (right): https://codereview.webrtc.org/2307533004/diff/100001/webrtc/voice_engine/include/voe_base.h#newcode99 webrtc/voice_engine/include/voe_base.h:99: struct ChannelConfig { On 2016/09/05 11:28:42, hlundin-webrtc wrote: ...
4 years, 3 months ago (2016-09-05 14:36:24 UTC) #26
the sun
https://codereview.webrtc.org/2307533004/diff/100001/webrtc/voice_engine/include/voe_base.h File webrtc/voice_engine/include/voe_base.h (right): https://codereview.webrtc.org/2307533004/diff/100001/webrtc/voice_engine/include/voe_base.h#newcode99 webrtc/voice_engine/include/voe_base.h:99: struct ChannelConfig { On 2016/09/05 14:36:24, kwiberg-webrtc wrote: > ...
4 years, 3 months ago (2016-09-05 15:25:04 UTC) #27
hlundin-webrtc
LGTM You included a rebase in the last patch set, which unfortunately made the diff ...
4 years, 3 months ago (2016-09-06 12:07:21 UTC) #28
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/2307533004/140001
4 years, 3 months ago (2016-09-07 11:58:15 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_baremetal on master.tryserver.webrtc (JOB_FAILED, no build URL)
4 years, 3 months ago (2016-09-07 12:55:15 UTC) #37
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/2307533004/140001
4 years, 3 months ago (2016-09-07 14:26:08 UTC) #39
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 3 months ago (2016-09-07 14:34:45 UTC) #41
commit-bot: I haz the power
4 years, 3 months ago (2016-09-07 14:34:50 UTC) #43
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/88499ecaca050be2dd21fff17140d6681c3bac95
Cr-Commit-Position: refs/heads/master@{#14109}

Powered by Google App Engine
This is Rietveld 408576698