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

Side by Side Diff: webrtc/voice_engine/test/cmd_test/voe_cmd_test.cc

Issue 2358993004: Enable the -Wundef warning for clang (Closed)
Patch Set: rebase 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include <stdio.h> 11 #include <stdio.h>
12 #include <stdlib.h> 12 #include <stdlib.h>
13 #include <string.h> 13 #include <string.h>
14 #ifndef _WIN32 14 #ifndef _WIN32
15 #include <unistd.h> 15 #include <unistd.h>
16 #endif 16 #endif
17 17
18 #include <memory> 18 #include <memory>
19 #include <vector> 19 #include <vector>
20 20
21 #include "gflags/gflags.h" 21 #include "gflags/gflags.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "webrtc/test/gtest.h"
23 #include "webrtc/base/format_macros.h" 23 #include "webrtc/base/format_macros.h"
24 #include "webrtc/engine_configurations.h" 24 #include "webrtc/engine_configurations.h"
25 #include "webrtc/modules/audio_processing/include/audio_processing.h" 25 #include "webrtc/modules/audio_processing/include/audio_processing.h"
26 #include "webrtc/voice_engine/test/channel_transport/channel_transport.h" 26 #include "webrtc/voice_engine/test/channel_transport/channel_transport.h"
27 #include "webrtc/test/testsupport/fileutils.h" 27 #include "webrtc/test/testsupport/fileutils.h"
28 #include "webrtc/test/testsupport/trace_to_stderr.h" 28 #include "webrtc/test/testsupport/trace_to_stderr.h"
29 #include "webrtc/voice_engine/include/voe_audio_processing.h" 29 #include "webrtc/voice_engine/include/voe_audio_processing.h"
30 #include "webrtc/voice_engine/include/voe_base.h" 30 #include "webrtc/voice_engine/include/voe_base.h"
31 #include "webrtc/voice_engine/include/voe_codec.h" 31 #include "webrtc/voice_engine/include/voe_codec.h"
32 #include "webrtc/voice_engine/include/voe_errors.h" 32 #include "webrtc/voice_engine/include/voe_errors.h"
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 825
826 printf("Delete channels \n"); 826 printf("Delete channels \n");
827 res = base1->DeleteChannel(chan); 827 res = base1->DeleteChannel(chan);
828 VALIDATE; 828 VALIDATE;
829 829
830 for (int i = 0; i < kMaxNumChannels; ++i) { 830 for (int i = 0; i < kMaxNumChannels; ++i) {
831 res = base1->DeleteChannel(channels[i]); 831 res = base1->DeleteChannel(channels[i]);
832 VALIDATE; 832 VALIDATE;
833 } 833 }
834 } 834 }
OLDNEW
« no previous file with comments | « webrtc/voice_engine/test/channel_transport/udp_transport_unittest.cc ('k') | webrtc/voice_engine/transmit_mixer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698