]> git.sesse.net Git - vlc/blob - modules/codec/wmafixed/asf.h
Use var_Inherit* instead of var_CreateGet*.
[vlc] / modules / codec / wmafixed / asf.h
1 /*****************************************************************************
2  * wma.c: wma decoder using integer decoder from Rockbox, based on FFmpeg
3  *****************************************************************************
4  * Copyright (C) 2008 M2X
5  *
6  * Authors: Rafaël Carré <rcarre@m2x.nl>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
21  *****************************************************************************/
22
23 #ifndef _ASF_H
24 #define _ASF_H
25
26 #include <inttypes.h>
27
28 /* ASF codec IDs */
29 #define ASF_CODEC_ID_WMAV1 0x160
30 #define ASF_CODEC_ID_WMAV2 0x161
31
32 struct asf_waveformatex_s {
33     uint32_t packet_size;
34     int audiostream;
35     uint16_t codec_id;
36     uint16_t channels;
37     uint32_t rate;
38     uint32_t bitrate;
39     uint16_t blockalign;
40     uint16_t bitspersample;
41     uint16_t datalen;
42     uint8_t data[6];
43 };
44 typedef struct asf_waveformatex_s asf_waveformatex_t;
45
46 #endif