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

Unified Diff: webrtc/modules/audio_processing/test/process_test.cc

Issue 1698243003: Changed order of events when synthesizing a call in audioproc (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/test/process_test.cc
diff --git a/webrtc/modules/audio_processing/test/process_test.cc b/webrtc/modules/audio_processing/test/process_test.cc
index 608fce5fffceeae83ddd993d5a1d240e12a76992..7ffc4ee98ee48224935afc60fe77c671386f587a 100644
--- a/webrtc/modules/audio_processing/test/process_test.cc
+++ b/webrtc/modules/audio_processing/test/process_test.cc
@@ -840,10 +840,10 @@ void void_main(int argc, char* argv[]) {
if (far_file == NULL) {
event = kCaptureEvent;
} else {
- if (event == kRenderEvent) {
- event = kCaptureEvent;
- } else {
+ if (event == kCaptureEvent) {
hlundin-webrtc 2016/02/16 12:15:52 You could also write this as event = (event == kCa
peah-webrtc 2016/02/16 12:50:52 Done.
event = kRenderEvent;
+ } else {
+ event = kCaptureEvent;
}
}
} else {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698