OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ | 5 #ifndef MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ |
6 #define MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ | 6 #define MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "media/audio/audio_manager_base.h" | 11 #include "media/audio/audio_manager_base.h" |
11 | 12 |
12 namespace media { | 13 namespace media { |
13 | 14 |
14 class AudioDeviceListenerWin; | 15 class AudioDeviceListenerWin; |
15 | 16 |
16 // Windows implementation of the AudioManager singleton. This class is internal | 17 // Windows implementation of the AudioManager singleton. This class is internal |
17 // to the audio output and only internal users can call methods not exposed by | 18 // to the audio output and only internal users can call methods not exposed by |
18 // the AudioManager class. | 19 // the AudioManager class. |
19 class MEDIA_EXPORT AudioManagerWin : public AudioManagerBase { | 20 class MEDIA_EXPORT AudioManagerWin : public AudioManagerBase { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 91 |
91 // Listen for output device changes. | 92 // Listen for output device changes. |
92 scoped_ptr<AudioDeviceListenerWin> output_device_listener_; | 93 scoped_ptr<AudioDeviceListenerWin> output_device_listener_; |
93 | 94 |
94 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); | 95 DISALLOW_COPY_AND_ASSIGN(AudioManagerWin); |
95 }; | 96 }; |
96 | 97 |
97 } // namespace media | 98 } // namespace media |
98 | 99 |
99 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ | 100 #endif // MEDIA_AUDIO_WIN_AUDIO_MANAGER_WIN_H_ |
OLD | NEW |