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

Issue 2295113002: Removing the RX processing APIs from VoEAudioProcessing: (Closed)

Created:
4 years, 3 months ago by the sun
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, henrika_webrtc, Andrew MacDonald, 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

The VoE functionality to apply receive-side processing to VoE channels is unused. I'm removing it so we can avoid instantiating a full APM per channel (and thus also for webrtc::AudioSendStream and webrtc::AudioReceiveStream), and then never use it. The following APIs are removed from VoEAudioProcessing: virtual int SetRxNsStatus(int channel, bool enable, NsModes mode = kNsUnchanged) = 0; virtual int GetRxNsStatus(int channel, bool& enabled, NsModes& mode) = 0; virtual int SetRxAgcStatus(int channel, bool enable, AgcModes mode = kAgcUnchanged) = 0; virtual int GetRxAgcStatus(int channel, bool& enabled, AgcModes& mode) = 0; virtual int SetRxAgcConfig(int channel, AgcConfig config) = 0; virtual int GetRxAgcConfig(int channel, AgcConfig& config) = 0; virtual int RegisterRxVadObserver(int channel, VoERxVadCallback& observer) = 0; virtual int DeRegisterRxVadObserver(int channel) = 0; BUG=webrtc:4690, webrtc:6593 Committed: https://crrev.com/11ace15c19add2e7a6276faaaa740a74a9a870a8 Cr-Commit-Position: refs/heads/master@{#14227}

Patch Set 1 #

Patch Set 2 : removed from voe_cmd_test #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -749 lines) Patch
M webrtc/media/engine/fakewebrtcvoiceengine.h View 1 2 3 1 chunk +0 lines, -12 lines 0 comments Download
M webrtc/test/mock_voice_engine.h View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
M webrtc/voice_engine/channel.h View 1 2 3 6 chunks +6 lines, -42 lines 0 comments Download
M webrtc/voice_engine/channel.cc View 1 2 3 8 chunks +0 lines, -271 lines 0 comments Download
M webrtc/voice_engine/include/voe_audio_processing.h View 2 chunks +0 lines, -45 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/extended/agc_config_test.cc View 1 chunk +0 lines, -43 lines 0 comments Download
M webrtc/voice_engine/test/auto_test/standard/audio_processing_test.cc View 6 chunks +0 lines, -105 lines 0 comments Download
M webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc View 1 2 3 2 chunks +0 lines, -20 lines 0 comments Download
M webrtc/voice_engine/voe_audio_processing_impl.h View 2 chunks +0 lines, -20 lines 0 comments Download
M webrtc/voice_engine/voe_audio_processing_impl.cc View 3 chunks +1 line, -182 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
the sun
4 years, 3 months ago (2016-09-02 12:54:45 UTC) #6
kwiberg-webrtc
lgtm Provided of course that this doesn't break anything, but I assume you've made sure ...
4 years, 3 months ago (2016-09-05 14:08:18 UTC) #7
hlundin-webrtc
lgtm https://codereview.webrtc.org/2295113002/diff/40001/webrtc/voice_engine/test/auto_test/standard/audio_processing_test.cc File webrtc/voice_engine/test/auto_test/standard/audio_processing_test.cc (left): https://codereview.webrtc.org/2295113002/diff/40001/webrtc/voice_engine/test/auto_test/standard/audio_processing_test.cc#oldcode202 webrtc/voice_engine/test/auto_test/standard/audio_processing_test.cc:202: // TODO(phoglund): Reenable below test when it's no ...
4 years, 3 months ago (2016-09-06 09:06:10 UTC) #8
the sun
https://codereview.webrtc.org/2295113002/diff/40001/webrtc/voice_engine/test/auto_test/standard/audio_processing_test.cc File webrtc/voice_engine/test/auto_test/standard/audio_processing_test.cc (left): https://codereview.webrtc.org/2295113002/diff/40001/webrtc/voice_engine/test/auto_test/standard/audio_processing_test.cc#oldcode202 webrtc/voice_engine/test/auto_test/standard/audio_processing_test.cc:202: // TODO(phoglund): Reenable below test when it's no longer ...
4 years, 3 months ago (2016-09-07 14:13:32 UTC) #9
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/2295113002/60001
4 years, 3 months ago (2016-09-15 09:23:32 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-15 11:29:17 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 11:29:27 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/11ace15c19add2e7a6276faaaa740a74a9a870a8
Cr-Commit-Position: refs/heads/master@{#14227}

Powered by Google App Engine
This is Rietveld 408576698