summaryrefslogtreecommitdiffstats
path: root/content/renderer/media/audio_decoder.h
blob: 9c14ed9f5d55946c890cc79e86f3396712a06350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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_AUDIO_DECODER_H_
#define CONTENT_RENDERER_MEDIA_AUDIO_DECODER_H_

#include "base/basictypes.h"

namespace blink { class WebAudioBus; }

namespace content {

// Decode in-memory audio file data.
bool DecodeAudioFileData(blink::WebAudioBus* destination_bus, const char* data,
                         size_t data_size, double sample_rate);

}  // namespace content

#endif  // CONTENT_RENDERER_MEDIA_AUDIO_DECODER_H_