| OLD | NEW |
| 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 "testing/gtest/include/gtest/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/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" |
| 33 #include "webrtc/voice_engine/include/voe_external_media.h" | 33 #include "webrtc/voice_engine/include/voe_external_media.h" |
| 34 #include "webrtc/voice_engine/include/voe_file.h" | 34 #include "webrtc/voice_engine/include/voe_file.h" |
| 35 #include "webrtc/voice_engine/include/voe_hardware.h" | 35 #include "webrtc/voice_engine/include/voe_hardware.h" |
| 36 #include "webrtc/voice_engine/include/voe_neteq_stats.h" | 36 #include "webrtc/voice_engine/include/voe_neteq_stats.h" |
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 845 | 845 |
| 846 printf("Delete channels \n"); | 846 printf("Delete channels \n"); |
| 847 res = base1->DeleteChannel(chan); | 847 res = base1->DeleteChannel(chan); |
| 848 VALIDATE; | 848 VALIDATE; |
| 849 | 849 |
| 850 for (int i = 0; i < kMaxNumChannels; ++i) { | 850 for (int i = 0; i < kMaxNumChannels; ++i) { |
| 851 res = base1->DeleteChannel(channels[i]); | 851 res = base1->DeleteChannel(channels[i]); |
| 852 VALIDATE; | 852 VALIDATE; |
| 853 } | 853 } |
| 854 } | 854 } |
| OLD | NEW |