1 #ifndef MSP_AL_OGGDECODER_H_
2 #define MSP_AL_OGGDECODER_H_
5 #include "sounddecoder.h"
10 class ogg_error: public std::runtime_error
13 ogg_error(const std::string &, int);
14 virtual ~ogg_error() throw() { }
17 static std::string get_message(int);
21 class OggDecoder: public SoundDecoder
29 OggDecoder(IO::Seekable &);
32 static bool detect(const std::string &);
34 virtual void rewind();
35 virtual unsigned read(char *, unsigned);