| 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 "webrtc/voice_engine/test/auto_test/voe_cpu_test.h" | 11 #include "webrtc/voice_engine/test/auto_test/voe_cpu_test.h" |
| 12 | 12 |
| 13 #include <stdio.h> | 13 #include <stdio.h> |
| 14 #include <string.h> | 14 #include <string.h> |
| 15 #include <time.h> | 15 #include <time.h> |
| 16 #if defined(_WIN32) | 16 #if defined(_WIN32) |
| 17 #include <conio.h> | 17 #include <conio.h> |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 #include <memory> | 20 #include <memory> |
| 21 | 21 |
| 22 #include "webrtc/voice_engine/test/channel_transport/channel_transport.h" | 22 #include "webrtc/test/channel_transport/channel_transport.h" |
| 23 #include "webrtc/voice_engine/test/auto_test/voe_test_defines.h" | 23 #include "webrtc/voice_engine/test/auto_test/voe_test_defines.h" |
| 24 | 24 |
| 25 using namespace webrtc; | 25 using namespace webrtc; |
| 26 using namespace test; | 26 using namespace test; |
| 27 | 27 |
| 28 namespace voetest { | 28 namespace voetest { |
| 29 | 29 |
| 30 #define CHECK(expr) \ | 30 #define CHECK(expr) \ |
| 31 if (expr) \ | 31 if (expr) \ |
| 32 { \ | 32 { \ |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 CHECK(base->StopSend(channel)); | 93 CHECK(base->StopSend(channel)); |
| 94 CHECK(base->StopPlayout(channel)); | 94 CHECK(base->StopPlayout(channel)); |
| 95 CHECK(base->StopReceive(channel)); | 95 CHECK(base->StopReceive(channel)); |
| 96 | 96 |
| 97 base->DeleteChannel(channel); | 97 base->DeleteChannel(channel); |
| 98 CHECK(base->Terminate()); | 98 CHECK(base->Terminate()); |
| 99 return 0; | 99 return 0; |
| 100 } | 100 } |
| 101 | 101 |
| 102 } // namespace voetest | 102 } // namespace voetest |
| OLD | NEW |