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_AUDIO_MANAGER_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_MANAGER_H_ |
6 #define MEDIA_AUDIO_AUDIO_MANAGER_H_ | 6 #define MEDIA_AUDIO_AUDIO_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/string16.h" | 12 #include "base/string16.h" |
13 #include "media/audio/audio_device_name.h" | 13 #include "media/audio/audio_device_name.h" |
14 #include "media/audio/audio_parameters.h" | 14 #include "media/audio/audio_parameters.h" |
15 | 15 |
| 16 namespace base { |
16 class MessageLoop; | 17 class MessageLoop; |
17 | |
18 namespace base { | |
19 class MessageLoopProxy; | 18 class MessageLoopProxy; |
20 } | 19 } |
21 | 20 |
22 namespace media { | 21 namespace media { |
23 | 22 |
24 class AudioInputStream; | 23 class AudioInputStream; |
25 class AudioOutputStream; | 24 class AudioOutputStream; |
26 | 25 |
27 // Manages all audio resources. In particular it owns the AudioOutputStream | 26 // Manages all audio resources. In particular it owns the AudioOutputStream |
28 // objects. Provides some convenience functions that avoid the need to provide | 27 // objects. Provides some convenience functions that avoid the need to provide |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 protected: | 139 protected: |
141 AudioManager(); | 140 AudioManager(); |
142 | 141 |
143 private: | 142 private: |
144 DISALLOW_COPY_AND_ASSIGN(AudioManager); | 143 DISALLOW_COPY_AND_ASSIGN(AudioManager); |
145 }; | 144 }; |
146 | 145 |
147 } // namespace media | 146 } // namespace media |
148 | 147 |
149 #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_ | 148 #endif // MEDIA_AUDIO_AUDIO_MANAGER_H_ |
OLD | NEW |