1 /** \file wma.h The asf_header structure and public wma function declarations. */
4 * Information contained in an asf audio file header.
6 * Both para_filter and para_afh need to read the header.
8 struct asf_header_info {
9 /** The size of the audio file header. */
11 /** Offset of the audio stream info header. */
12 int audio_stream_info_start;
13 /** Number of channels. */
15 /** One of the 5 possible sample rates. */
17 /** Size of one data block. */
19 /** Bits per second. */
21 /** Further decoding information (ignored). */
23 /** Whether to use exp_vlc, bit reservoir, variable block len. */
28 int wma_log2(unsigned int v);
29 const char *search_pattern(const char *pattern, int pattern_len,
30 const char *buf, int buf_size);
31 int read_asf_header(const char *buf, int loaded, struct asf_header_info *ahi);
33 #define WMA_FRAME_SKIP 31