]> git.tuebingen.mpg.de Git - paraslash.git/blob - wma.h
remove unused block_num field of struct private_wmadec_data.
[paraslash.git] / wma.h
1 /**
2  * Information contained in an asf audio file header.
3  *
4  * Both para_filter and para_afh need to read the header.
5  */
6 struct asf_header_info {
7         /** The size of the audio file header. */
8         int header_len;
9         int audio_stream_info_start;
10         uint8_t channels;
11         uint16_t sample_rate;
12         uint16_t block_align;
13         uint32_t bit_rate;
14         uint32_t flags1;
15         uint16_t flags2;
16 };
17
18 /* wma_common.c */
19 int wma_log2(unsigned int v);
20 const char *search_pattern(const char *pattern, int pattern_len,
21                 const char *buf, int buf_size);
22 int read_asf_header(char *buf, int loaded, struct asf_header_info *ahi);
23 #define M_PI           3.14159265358979323846   /* pi */
24 #define WMA_FRAME_SKIP 31