access_http: use the user agent provided by the user: fix #4162
[vlc/asuraparaju-public.git] / modules / codec / wmafixed / asf.h
blob36d68fcdcfcd31961d821fd739f3cd5a7068684e
1 /*****************************************************************************
2 * wma.c: wma decoder using integer decoder from Rockbox, based on FFmpeg
3 *****************************************************************************
4 * Copyright (C) 2008 M2X
6 * Authors: Rafaël Carré <rcarre@m2x.nl>
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.
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.
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 *****************************************************************************/
23 #ifndef _ASF_H
24 #define _ASF_H
26 #include <inttypes.h>
28 /* ASF codec IDs */
29 #define ASF_CODEC_ID_WMAV1 0x160
30 #define ASF_CODEC_ID_WMAV2 0x161
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];
44 typedef struct asf_waveformatex_s asf_waveformatex_t;
46 #endif