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

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

Issue 2453243003: Remove voe::Channel::StopReceive() and associated logic. (Closed)
Patch Set: comment Created 4 years, 2 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
« no previous file with comments | « webrtc/voice_engine/test/auto_test/voe_stress_test.cc ('k') | webrtc/voice_engine/voe_base_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 97188671bb8744407c2803469c742f049b3b3899..edc2ecf6b2d0996c2c088df2aca674060862f57b 100644
--- a/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc
+++ b/webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc
@@ -378,12 +378,6 @@ void RunTest(std::string out_path) {
const bool receive = !(call_selection == 2);
if (receive) {
-#ifndef EXTERNAL_TRANSPORT
- printf("Start Listen \n");
- res = base1->StartReceive(chan);
- VALIDATE;
-#endif
-
printf("Start Playout \n");
res = base1->StartPlayout(chan);
VALIDATE;
@@ -700,8 +694,6 @@ void RunTest(std::string out_path) {
VALIDATE;
} else if (option_selection == option_index++) {
if (channel_index < kMaxNumChannels) {
- res = base1->StartReceive(channels[channel_index]);
- VALIDATE;
res = base1->StartPlayout(channels[channel_index]);
VALIDATE;
res = base1->StartSend(channels[channel_index]);
@@ -725,8 +717,6 @@ void RunTest(std::string out_path) {
VALIDATE;
res = base1->StopPlayout(channels[channel_index]);
VALIDATE;
- res = base1->StopReceive(channels[channel_index]);
- VALIDATE;
printf("Using %d additional channels\n", channel_index);
} else {
printf("All additional channels stopped\n");
@@ -787,12 +777,6 @@ void RunTest(std::string out_path) {
printf("Stop Playout \n");
res = base1->StopPlayout(chan);
VALIDATE;
-
-#ifndef EXTERNAL_TRANSPORT
- printf("Stop Listen \n");
- res = base1->StopReceive(chan);
- VALIDATE;
-#endif
}
while (channel_index > 0) {
@@ -803,8 +787,6 @@ void RunTest(std::string out_path) {
VALIDATE;
res = base1->StopPlayout(channels[channel_index]);
VALIDATE;
- res = base1->StopReceive(channels[channel_index]);
- VALIDATE;
}
printf("\n1. New call \n");
« no previous file with comments | « webrtc/voice_engine/test/auto_test/voe_stress_test.cc ('k') | webrtc/voice_engine/voe_base_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698