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);
22 Decoder for Ogg Vorbis files. Normally you should use one of the
23 SoundDecoder::open_* functions to create a decoder.
25 class OggDecoder: public SoundDecoder
33 OggDecoder(IO::Seekable &);
36 static bool detect(const std::string &);
38 virtual void seek(unsigned);
39 virtual unsigned read(char *, unsigned);