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_
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
;
20 #endif // MEDIA_BASE_ANDROID_WEBAUDIO_MEDIA_CODEC_INFO_H_