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