X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wma.h;h=33e34a3515b482c9f682e6c7472dbc7ec711e190;hp=850ffc971e30c4e65059be76b3879003cddad815;hb=1e012cf40238883621692051a22fb9c7cad5e944;hpb=8fbaafaaaea2ec1e3873bdcf5cb2de3a643fc5e6 diff --git a/wma.h b/wma.h index 850ffc97..33e34a35 100644 --- a/wma.h +++ b/wma.h @@ -1,10 +1,10 @@ +/** \file wma.h The asf_header structure and public wma function declarations. */ + /** * Information contained in an asf audio file header. * * Both para_filter and para_afh need to read the header. */ - -/** Information stored in the asf header. */ struct asf_header_info { /** The size of the audio file header. */ int header_len; @@ -28,8 +28,6 @@ struct asf_header_info { 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); +int read_asf_header(const char *buf, int loaded, struct asf_header_info *ahi); #define WMA_FRAME_SKIP 31 -#define DECLARE_ALIGNED(n,t,v) t v __attribute__ ((aligned (n))) -#define DECLARE_ALIGNED_16(t, v) DECLARE_ALIGNED(16, t, v)