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 #ifndef WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_TEST_DEFINES_H | 11 #ifndef WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_TEST_DEFINES_H |
12 #define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_TEST_DEFINES_H | 12 #define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_TEST_DEFINES_H |
13 | 13 |
14 #include "webrtc/common_types.h" | 14 #include "webrtc/common_types.h" |
15 #include "webrtc/modules/audio_device/include/audio_device.h" | 15 #include "webrtc/modules/audio_device/include/audio_device.h" |
16 #include "webrtc/modules/utility/include/process_thread.h" | |
17 #include "webrtc/system_wrappers/include/trace.h" | 16 #include "webrtc/system_wrappers/include/trace.h" |
18 | 17 |
19 #ifdef _WIN32 | 18 #ifdef _WIN32 |
20 #define MACRO_DEFAULT_DEVICE AudioDeviceModule::kDefaultDevice | 19 #define MACRO_DEFAULT_DEVICE AudioDeviceModule::kDefaultDevice |
21 #define MACRO_DEFAULT_COMMUNICATION_DEVICE AudioDeviceModule::kDefaultCommunicat
ionDevice | 20 #define MACRO_DEFAULT_COMMUNICATION_DEVICE AudioDeviceModule::kDefaultCommunicat
ionDevice |
22 #else | 21 #else |
23 #define MACRO_DEFAULT_DEVICE 0 | 22 #define MACRO_DEFAULT_DEVICE 0 |
24 #define MACRO_DEFAULT_COMMUNICATION_DEVICE 0 | 23 #define MACRO_DEFAULT_COMMUNICATION_DEVICE 0 |
25 #endif | 24 #endif |
26 | 25 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 66 |
68 // Helper functions | 67 // Helper functions |
69 // For iPhone, they are defined in iPhone specific test code. | 68 // For iPhone, they are defined in iPhone specific test code. |
70 // For Android, they are defined in API test only (since both | 69 // For Android, they are defined in API test only (since both |
71 // API and Func tests are built into the same lib). | 70 // API and Func tests are built into the same lib). |
72 // For other, they are defined in both API test and Func test. | 71 // For other, they are defined in both API test and Func test. |
73 const char* GetFilename(const char* filename); | 72 const char* GetFilename(const char* filename); |
74 const char* GetResource(const char* resource); | 73 const char* GetResource(const char* resource); |
75 | 74 |
76 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_TEST_DEFINES_H | 75 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_TEST_DEFINES_H |
OLD | NEW |