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 11 #ifndef WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_ 12 #define WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_ 13 14 // Enumerators 15 // 16 enum { kAdmMaxIdleTimeProcess = 1000 }; 17 enum { GET_MIC_VOLUME_INTERVAL_MS = 1000 }; 18 19 // Platform specifics 20 // 21 #if defined(_WIN32) 22 #if (_MSC_VER >= 1400) 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 28 29 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_ 30 31