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/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/time.h" | 12 #include "base/time/time.h" |
13 #include "media/audio/audio_io.h" | 13 #include "media/audio/audio_io.h" |
14 #include "media/audio/audio_manager.h" | 14 #include "media/audio/audio_manager.h" |
15 #include "media/audio/audio_output_dispatcher.h" | 15 #include "media/audio/audio_output_dispatcher.h" |
16 #include "media/audio/audio_parameters.h" | 16 #include "media/audio/audio_parameters.h" |
17 | 17 |
18 namespace media { | 18 namespace media { |
19 | 19 |
20 class OnMoreDataConverter; | 20 class OnMoreDataConverter; |
21 | 21 |
22 // AudioOutputResampler is a browser-side resampling and buffering solution | 22 // AudioOutputResampler is a browser-side resampling and buffering solution |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 // Whether any streams have been opened through |dispatcher_|, if so we can't | 80 // Whether any streams have been opened through |dispatcher_|, if so we can't |
81 // fallback on future OpenStream() failures. | 81 // fallback on future OpenStream() failures. |
82 bool streams_opened_; | 82 bool streams_opened_; |
83 | 83 |
84 DISALLOW_COPY_AND_ASSIGN(AudioOutputResampler); | 84 DISALLOW_COPY_AND_ASSIGN(AudioOutputResampler); |
85 }; | 85 }; |
86 | 86 |
87 } // namespace media | 87 } // namespace media |
88 | 88 |
89 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_RESAMPLER_H_ | 89 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_RESAMPLER_H_ |
OLD | NEW |