X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fmp3.h;fp=lib%2Fmp3.h;h=b76f3ced031bcd7057e0a89a4d1177393dbf8fe0;hb=e3147ae362f22e9627c7eace0b33d01c09e30f25;hp=0000000000000000000000000000000000000000;hpb=4361e39b8bc3caecfbb676a4454979bdb133bcb3;p=swftools.git diff --git a/lib/mp3.h b/lib/mp3.h new file mode 100644 index 0000000..b76f3ce --- /dev/null +++ b/lib/mp3.h @@ -0,0 +1,19 @@ +/* mp3.h + Header file for mp3.c + + Part of the swftools package. + + Copyright (c) 2005 Joel Yliluoma + + This file is distributed under the GPL, see file COPYING for details */ + +struct MP3 { + unsigned short SampRate; + unsigned char Channels; + unsigned int NumFrames; + unsigned char* data; + unsigned long size; +}; + +int mp3_read(struct MP3*mp3, char* filename); +void mp3_clear(struct MP3*mp3);