• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_
6 #define CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_
7 
8 #include "content/child/thread_safe_sender.h"
9 
10 namespace blink {
11 class WebAudioBus;
12 }
13 
14 namespace content {
15 
16 bool DecodeAudioFileData(blink::WebAudioBus* destination_bus,
17                          const char* data,
18                          size_t data_size,
19                          double sample_rate,
20                          scoped_refptr<ThreadSafeSender> sender);
21 
22 }  // namespace content
23 
24 #endif  // CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_
25