+/**
+ * Information contained in an asf audio file header.
+ *
+ * Both para_filter and para_afh need to read the header.
+ */
+struct asf_header_info {
+ /** The size of the audio file header. */
+ int header_len;
+ int audio_stream_info_start;
+ uint8_t channels;
+ uint16_t sample_rate;
+ uint16_t block_align;
+ uint32_t bit_rate;
+ uint32_t flags1;
+ uint16_t flags2;
+};
+
+/* wma_common.c */
+int wma_log2(unsigned int v);
+const char *search_pattern(const char *pattern, int pattern_len,
+ const char *buf, int buf_size);
+int read_asf_header(char *buf, int loaded, struct asf_header_info *ahi);
+#define M_PI 3.14159265358979323846 /* pi */
+#define WMA_FRAME_SKIP 31