Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / media / base / android / webaudio_media_codec_info.h
blob423af91e8cb447f400be1629a9d9114dae269943
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.
5 #ifndef MEDIA_BASE_ANDROID_WEBAUDIO_MEDIA_CODEC_INFO_H_
6 #define MEDIA_BASE_ANDROID_WEBAUDIO_MEDIA_CODEC_INFO_H_
8 namespace media {
10 // This structure holds the information about the audio file
11 // determined by MediaCodec that is needed by the audio decoder to
12 // create the necessary destination bus.
13 struct WebAudioMediaCodecInfo {
14 unsigned long channel_count;
15 unsigned long sample_rate;
16 unsigned long number_of_frames;
19 } // namespace media
20 #endif // MEDIA_BASE_ANDROID_WEBAUDIO_MEDIA_CODEC_INFO_H_