applied mp3 patch from Joel Yliluoma.
[swftools.git] / lib / mp3.h
diff --git a/lib/mp3.h b/lib/mp3.h
new file mode 100644 (file)
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 <bisqwit@iki.fi>
+
+   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);