#ifndef __LIBSHOUT_MP3_H #define __LIBSHOUT_MP3_H /* * MP3 Frame handling curtesy of Scott Manley - may he always be Manley. */ /* mp3 stuff */ #define MPEG_MODE_MONO 3 typedef struct mp3_header_St { int syncword; int layer; int version; int error_protection; int bitrate_index; int samplerate_index; int padding; int extension; int mode; int mode_ext; int copyright; int original; int emphasis; int stereo; int bitrate; int samplerate; int samples; int framesize; } mp3_header_t; int mp3_header(unsigned long head, mp3_header_t *mh); #endif /* __LIBSHOUT_MP3_H */