fixed drawlink() ruby callback
[swftools.git] / lib / mp3.h
1 /* mp3.h
2    Header file for mp3.c
3
4    Part of the swftools package.
5    
6    Copyright (c) 2005 Joel Yliluoma <bisqwit@iki.fi>
7
8    This file is distributed under the GPL, see file COPYING for details */
9
10 struct MP3 {
11     unsigned short  SampRate;
12     unsigned char   Channels;
13     unsigned int    NumFrames;
14     unsigned char*  data;
15     unsigned long   size;
16 };
17
18 int mp3_read(struct MP3*mp3, const char* filename);
19 void mp3_clear(struct MP3*mp3);