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_RESAMPLER_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_OUTPUT_RESAMPLER_H_ |
6 #define MEDIA_AUDIO_AUDIO_OUTPUT_RESAMPLER_H_ | 6 #define MEDIA_AUDIO_AUDIO_OUTPUT_RESAMPLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
13 #include "media/audio/audio_io.h" | 14 #include "media/audio/audio_io.h" |
14 #include "media/audio/audio_manager.h" | 15 #include "media/audio/audio_manager.h" |
15 #include "media/audio/audio_output_dispatcher_impl.h" | 16 #include "media/audio/audio_output_dispatcher_impl.h" |
16 #include "media/audio/audio_parameters.h" | 17 #include "media/audio/audio_parameters.h" |
17 | 18 |
18 namespace media { | 19 namespace media { |
19 | 20 |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // have been created within |close_delay_|. Without this, audio may be lost | 88 // have been created within |close_delay_|. Without this, audio may be lost |
88 // to a fake stream indefinitely for transient errors. | 89 // to a fake stream indefinitely for transient errors. |
89 base::Timer reinitialize_timer_; | 90 base::Timer reinitialize_timer_; |
90 | 91 |
91 DISALLOW_COPY_AND_ASSIGN(AudioOutputResampler); | 92 DISALLOW_COPY_AND_ASSIGN(AudioOutputResampler); |
92 }; | 93 }; |
93 | 94 |
94 } // namespace media | 95 } // namespace media |
95 | 96 |
96 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_RESAMPLER_H_ | 97 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_RESAMPLER_H_ |
OLD | NEW |