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_OUTPUT_CONTROLLER_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_OUTPUT_CONTROLLER_H_ |
6 #define MEDIA_AUDIO_AUDIO_OUTPUT_CONTROLLER_H_ | 6 #define MEDIA_AUDIO_AUDIO_OUTPUT_CONTROLLER_H_ |
7 | 7 |
8 #include "base/atomic_ref_count.h" | 8 #include "base/atomic_ref_count.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "base/threading/thread_checker.h" | 12 #include "base/threading/thread_checker.h" |
12 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
13 #include "build/build_config.h" | 14 #include "build/build_config.h" |
14 #include "media/audio/audio_io.h" | 15 #include "media/audio/audio_io.h" |
15 #include "media/audio/audio_manager.h" | 16 #include "media/audio/audio_manager.h" |
16 #include "media/audio/audio_power_monitor.h" | 17 #include "media/audio/audio_power_monitor.h" |
17 #include "media/audio/audio_source_diverter.h" | 18 #include "media/audio/audio_source_diverter.h" |
18 #include "media/audio/simple_sources.h" | 19 #include "media/audio/simple_sources.h" |
19 #include "media/base/media_export.h" | 20 #include "media/base/media_export.h" |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 // be accessed while |error_lock_| is held. | 265 // be accessed while |error_lock_| is held. |
265 bool ignore_errors_during_stop_close_; | 266 bool ignore_errors_during_stop_close_; |
266 base::Lock error_lock_; | 267 base::Lock error_lock_; |
267 | 268 |
268 DISALLOW_COPY_AND_ASSIGN(AudioOutputController); | 269 DISALLOW_COPY_AND_ASSIGN(AudioOutputController); |
269 }; | 270 }; |
270 | 271 |
271 } // namespace media | 272 } // namespace media |
272 | 273 |
273 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_CONTROLLER_H_ | 274 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_CONTROLLER_H_ |
OLD | NEW |