blob: d2cac1575dfca8aec01be8fdac36a6b2f2a2f1f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_
#define CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_
#include "content/child/thread_safe_sender.h"
namespace blink {
class WebAudioBus;
}
namespace content {
bool DecodeAudioFileData(blink::WebAudioBus* destination_bus,
const char* data,
size_t data_size,
double sample_rate,
scoped_refptr<ThreadSafeSender> sender);
} // namespace content
#endif // CONTENT_RENDERER_MEDIA_ANDROID_AUDIO_DECODER_ANDROID_H_
|