1 #ifndef MSP_AL_MP3DECODER_H_
2 #define MSP_AL_MP3DECODER_H_
5 #include "sounddecoder.h"
10 class mp3_error: public std::runtime_error
13 mp3_error(const std::string &, int);
14 virtual ~mp3_error() throw() { }
17 static std::string get_message(int);
21 class Mp3Decoder: public SoundDecoder
33 Mp3Decoder(IO::Seekable &);
34 virtual ~Mp3Decoder();
36 static bool detect(const std::string &);
38 virtual void rewind();
39 virtual unsigned read(char *, unsigned);