OLD | NEW |
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 WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_WIN_H | 11 #ifndef WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_WIN_H |
12 #define WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_WIN_H | 12 #define WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_WIN_H |
13 | 13 |
14 #include "webrtc/typedefs.h" | 14 #include "webrtc/typedefs.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/interface/critical_section_wrapper.h" | 16 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
17 #include <Windows.h> | 17 #include <Windows.h> |
18 #include <mmsystem.h> | 18 #include <mmsystem.h> |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 | 21 |
22 class AudioMixerManager | 22 class AudioMixerManager |
23 { | 23 { |
24 public: | 24 public: |
25 enum { MAX_NUMBER_MIXER_DEVICES = 40 }; | 25 enum { MAX_NUMBER_MIXER_DEVICES = 40 }; |
26 enum { MAX_NUMBER_OF_LINE_CONTROLS = 20 }; | 26 enum { MAX_NUMBER_OF_LINE_CONTROLS = 20 }; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 HMIXER _inputMixerHandle; | 130 HMIXER _inputMixerHandle; |
131 UINT _inputMixerID; | 131 UINT _inputMixerID; |
132 SpeakerLineInfo _speakerState[MAX_NUMBER_MIXER_DEVICES]; | 132 SpeakerLineInfo _speakerState[MAX_NUMBER_MIXER_DEVICES]; |
133 MicrophoneLineInfo _microphoneState[MAX_NUMBER_MIXER_DEVICES]; | 133 MicrophoneLineInfo _microphoneState[MAX_NUMBER_MIXER_DEVICES]; |
134 mutable char _str[MAXERRORLENGTH]; | 134 mutable char _str[MAXERRORLENGTH]; |
135 }; | 135 }; |
136 | 136 |
137 } // namespace webrtc | 137 } // namespace webrtc |
138 | 138 |
139 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_H | 139 #endif // WEBRTC_AUDIO_DEVICE_AUDIO_MIXER_MANAGER_H |
OLD | NEW |