| 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 <assert.h> | 11 #include <assert.h> |
| 12 #include <ctype.h> | 12 #include <ctype.h> |
| 13 #include <stdio.h> | 13 #include <stdio.h> |
| 14 #include <string.h> | 14 #include <string.h> |
| 15 | 15 |
| 16 #if defined(_WIN32) | 16 #if defined(_WIN32) |
| 17 #include <conio.h> | 17 #include <conio.h> |
| 18 #elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) | 18 #elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) |
| 19 #include <termios.h> // tcgetattr | 19 #include <termios.h> // tcgetattr |
| 20 #endif | 20 #endif |
| 21 | 21 |
| 22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
| 23 #include "webrtc/modules/audio_device/test/func_test_manager.h" | 23 #include "webrtc/modules/audio_device/test/func_test_manager.h" |
| 24 #include "webrtc/system_wrappers/interface/sleep.h" | 24 #include "webrtc/system_wrappers/include/sleep.h" |
| 25 #include "webrtc/test/testsupport/fileutils.h" | 25 #include "webrtc/test/testsupport/fileutils.h" |
| 26 | 26 |
| 27 #include "webrtc/modules/audio_device/audio_device_config.h" | 27 #include "webrtc/modules/audio_device/audio_device_config.h" |
| 28 #include "webrtc/modules/audio_device/audio_device_impl.h" | 28 #include "webrtc/modules/audio_device/audio_device_impl.h" |
| 29 | 29 |
| 30 #ifndef __GNUC__ | 30 #ifndef __GNUC__ |
| 31 // Disable warning message ('sprintf': name was marked as #pragma deprecated) | 31 // Disable warning message ('sprintf': name was marked as #pragma deprecated) |
| 32 #pragma warning( disable : 4995 ) | 32 #pragma warning( disable : 4995 ) |
| 33 // Disable warning message 4996 ('scanf': This function or variable may be unsaf
e) | 33 // Disable warning message 4996 ('scanf': This function or variable may be unsaf
e) |
| 34 #pragma warning( disable : 4996 ) | 34 #pragma warning( disable : 4996 ) |
| (...skipping 2729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2764 | 2764 |
| 2765 TEST_LOG("\n"); | 2765 TEST_LOG("\n"); |
| 2766 PRINT_TEST_RESULTS; | 2766 PRINT_TEST_RESULTS; |
| 2767 | 2767 |
| 2768 return 0; | 2768 return 0; |
| 2769 } | 2769 } |
| 2770 | 2770 |
| 2771 } // namespace webrtc | 2771 } // namespace webrtc |
| 2772 | 2772 |
| 2773 // EOF | 2773 // EOF |
| OLD | NEW |