OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 WEBKIT_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_ | 5 #ifndef WEBKIT_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_ |
6 #define WEBKIT_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_ | 6 #define WEBKIT_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_ |
7 | 7 |
8 #include "base/synchronization/lock.h" | 8 #include "base/synchronization/lock.h" |
9 #include "media/base/audio_renderer_sink.h" | 9 #include "media/base/audio_renderer_sink.h" |
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" | 10 #include "third_party/WebKit/public/platform/WebVector.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAudioSourceProvide
r.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAudioSourceProvide
r.h" |
12 | 12 |
13 namespace WebKit { | 13 namespace WebKit { |
14 class WebAudioSourceProviderClient; | 14 class WebAudioSourceProviderClient; |
15 } | 15 } |
16 | 16 |
17 namespace webkit_media { | 17 namespace webkit_media { |
18 | 18 |
19 // WebAudioSourceProviderImpl provides a bridge between classes: | 19 // WebAudioSourceProviderImpl provides a bridge between classes: |
20 // WebKit::WebAudioSourceProvider <---> media::AudioRendererSink | 20 // WebKit::WebAudioSourceProvider <---> media::AudioRendererSink |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 base::Lock sink_lock_; | 69 base::Lock sink_lock_; |
70 scoped_refptr<media::AudioRendererSink> sink_; | 70 scoped_refptr<media::AudioRendererSink> sink_; |
71 scoped_ptr<media::AudioBus> bus_wrapper_; | 71 scoped_ptr<media::AudioBus> bus_wrapper_; |
72 | 72 |
73 DISALLOW_IMPLICIT_CONSTRUCTORS(WebAudioSourceProviderImpl); | 73 DISALLOW_IMPLICIT_CONSTRUCTORS(WebAudioSourceProviderImpl); |
74 }; | 74 }; |
75 | 75 |
76 } // namespace webkit_media | 76 } // namespace webkit_media |
77 | 77 |
78 #endif // WEBKIT_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_ | 78 #endif // WEBKIT_MEDIA_WEBAUDIOSOURCEPROVIDER_IMPL_H_ |
OLD | NEW |