#ifndef __MP3_FRAME_H__
#define __MP3_FRAME_H__

struct mp3frame
{
   int  version;
   int  layer;
   int  protection;
   int  bitrate;
   int  frequency;
   int  padding;
   int  private;
   int  channel_mode;
   int  channel_extension;
   int  copyright;
   int  original;
   int  emphasis;
   int  frame_byte_length;
   long  frame_usec_length;
};

/* thanks to http://www.dv.co.yu/mpgscript/mpeghdr.htm for the help */

extern int bitrate_index[4][4][16];

extern int samplerate_index[4][5];

#endif
