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