Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Side by Side Diff: modules/audio_device/audio_device_config.h

Issue 3020493002: Remove AudioDeviceObserver and make ADM not inherit from the Module interface.
Patch Set: linux build error Created 3 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_ 11 #ifndef AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_
12 #define AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_ 12 #define AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_
13 13
14 // Enumerators 14 // Enumerators
15 // 15 //
16 enum { kAdmMaxIdleTimeProcess = 1000 };
17 enum { GET_MIC_VOLUME_INTERVAL_MS = 1000 }; 16 enum { GET_MIC_VOLUME_INTERVAL_MS = 1000 };
18 17
19 // Platform specifics 18 // Platform specifics
20 // 19 //
21 #if defined(_WIN32) 20 #if defined(_WIN32)
22 #if (_MSC_VER >= 1400) 21 #if (_MSC_VER >= 1400)
23 // Windows Core Audio is the default audio layer in Windows. 22 // Windows Core Audio is the default audio layer in Windows.
24 // Only supported for VS 2005 and higher. 23 // Only supported for VS 2005 and higher.
25 #define WEBRTC_WINDOWS_CORE_AUDIO_BUILD 24 #define WEBRTC_WINDOWS_CORE_AUDIO_BUILD
26 #endif 25 #endif
27 #endif 26 #endif
28 27
29 #endif // AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_ 28 #endif // AUDIO_DEVICE_AUDIO_DEVICE_CONFIG_H_
30 29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698