| 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_PROXY_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_OUTPUT_PROXY_H_ |
| 6 #define MEDIA_AUDIO_AUDIO_OUTPUT_PROXY_H_ | 6 #define MEDIA_AUDIO_AUDIO_OUTPUT_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 10 #include "base/threading/non_thread_safe.h" | 11 #include "base/threading/non_thread_safe.h" |
| 11 #include "media/audio/audio_io.h" | 12 #include "media/audio/audio_io.h" |
| 12 #include "media/audio/audio_parameters.h" | 13 #include "media/audio/audio_parameters.h" |
| 13 | 14 |
| 14 namespace media { | 15 namespace media { |
| 15 | 16 |
| 16 class AudioOutputDispatcher; | 17 class AudioOutputDispatcher; |
| 17 | 18 |
| 18 // AudioOutputProxy is an audio otput stream that uses resources more | 19 // AudioOutputProxy is an audio otput stream that uses resources more |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 // Need to save volume here, so that we can restore it in case the stream | 61 // Need to save volume here, so that we can restore it in case the stream |
| 61 // is stopped, and then started again. | 62 // is stopped, and then started again. |
| 62 double volume_; | 63 double volume_; |
| 63 | 64 |
| 64 DISALLOW_COPY_AND_ASSIGN(AudioOutputProxy); | 65 DISALLOW_COPY_AND_ASSIGN(AudioOutputProxy); |
| 65 }; | 66 }; |
| 66 | 67 |
| 67 } // namespace media | 68 } // namespace media |
| 68 | 69 |
| 69 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_PROXY_H_ | 70 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_PROXY_H_ |
| OLD | NEW |