OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_ |
6 #define CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_ | 6 #define CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_ |
7 | 7 |
8 #include "content/child/thread_safe_sender.h" | 8 #include "content/child/thread_safe_sender.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 class WebAudioBus; | 11 class WebAudioBus; |
12 } | 12 } |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 bool DecodeAudioFileData(blink::WebAudioBus* destination_bus, | 16 bool DecodeAudioFileData(blink::WebAudioBus* destination_bus, |
17 const char* data, | 17 const char* data, |
18 size_t data_size, | 18 size_t data_size, |
19 double sample_rate, | |
20 scoped_refptr<ThreadSafeSender> sender); | 19 scoped_refptr<ThreadSafeSender> sender); |
21 | 20 |
22 } // namespace content | 21 } // namespace content |
23 | 22 |
24 #endif // CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_ | 23 #endif // CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_ |
OLD | NEW |