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

Unified Diff: webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc

Issue 2295113002: Removing the RX processing APIs from VoEAudioProcessing: (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc
diff --git a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc
index 5ff76cfa3129a8ec389f4ddc23376a7d49ea7074..0208c701c724827851bd1e9bc1d5a7e91ccba797 100644
--- a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc
+++ b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc
@@ -220,10 +220,8 @@ void RunTest(std::string out_path) {
CodecInst cinst;
bool enable_aec = false;
bool enable_agc = false;
- bool enable_rx_agc = false;
bool enable_cng = false;
bool enable_ns = false;
- bool enable_rx_ns = false;
bool typing_detection = false;
bool muted = false;
bool opus_stereo = false;
@@ -587,24 +585,6 @@ void RunTest(std::string out_path) {
res = hardware->SetRecordingDevice(num_rd);
VALIDATE;
} else if (option_selection == option_index++) {
- // Remote AGC
- enable_rx_agc = !enable_rx_agc;
- res = apm->SetRxAgcStatus(chan, enable_rx_agc);
- VALIDATE;
- if (enable_rx_agc)
- printf("\n Receive-side AGC is now on! \n");
- else
- printf("\n Receive-side AGC is now off! \n");
- } else if (option_selection == option_index++) {
- // Remote NS
- enable_rx_ns = !enable_rx_ns;
- res = apm->SetRxNsStatus(chan, enable_rx_ns);
- VALIDATE;
- if (enable_rx_ns)
- printf("\n Receive-side NS is now on! \n");
- else
- printf("\n Receive-side NS is now off! \n");
- } else if (option_selection == option_index++) {
AgcModes agcmode;
bool enable;
res = apm->GetAgcStatus(enable, agcmode);
« no previous file with comments | « webrtc/voice_engine/test/auto_test/standard/audio_processing_test.cc ('k') | webrtc/voice_engine/voe_audio_processing_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698