Chromium Code Reviews| Index: media/base/android/webaudio_media_codec_info.h |
| diff --git a/media/base/android/webaudio_media_codec_info.h b/media/base/android/webaudio_media_codec_info.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f5dc5bcefd322063565d42010eec1d7295911006 |
| --- /dev/null |
| +++ b/media/base/android/webaudio_media_codec_info.h |
| @@ -0,0 +1,20 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
|
DaleCurtis
2013/04/30 23:26:14
2013 license is w/o the (c).
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef MEDIA_BASE_ANDROID_MEDIA_CODEC_INFO_H_ |
|
DaleCurtis
2013/04/30 23:26:14
...WEBAUDIO_MEDIA_CODEC_INFO ?
|
| +#define MEDIA_BASE_ANDROID_MEDIA_CODEC_INFO_H_ |
| + |
| +namespace media { |
| + |
| +// This structure holds the information about the audio file |
| +// determined by MediaCodec that is needed by the audio decoder to |
| +// create the necessary destination bus. |
| +struct WebAudioMediaCodecInfo { |
| + unsigned long channel_count; |
| + unsigned long sample_rate; |
| + unsigned long number_of_frames; |
| +}; |
| + |
| +} // namespace media |
| +#endif // MEDIA_BASE_ANDROID_MEDIA_CODEC_INFO_H_ |
|
DaleCurtis
2013/04/30 23:26:14
ditto.
|