niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 11 | #ifndef AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_ |
| 12 | #define AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 13 | |
| 14 | // Enumerators |
| 15 | // |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 16 | enum { GET_MIC_VOLUME_INTERVAL_MS = 1000 }; |
| 17 | |
| 18 | // Platform specifics |
| 19 | // |
| 20 | #if defined(_WIN32) |
| 21 | #if (_MSC_VER >= 1400) |
Edward Lemur | 5d7fd19 | 2017-10-27 13:42:43 +0200 | [diff] [blame] | 22 | #if !defined(WEBRTC_DUMMY_FILE_DEVICES) |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 23 | // Windows Core Audio is the default audio layer in Windows. |
| 24 | // Only supported for VS 2005 and higher. |
| 25 | #define WEBRTC_WINDOWS_CORE_AUDIO_BUILD |
| 26 | #endif |
| 27 | #endif |
Edward Lemur | 5d7fd19 | 2017-10-27 13:42:43 +0200 | [diff] [blame] | 28 | #endif |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 29 | |
Mirko Bonadei | 92ea95e | 2017-09-15 06:47:31 +0200 | [diff] [blame] | 30 | #endif // AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 31 | |