X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Foggdecoder.h;h=e194736a40207a09710fccec8ce37a72d4b512cc;hb=1e7141871d33e3e184456ba063fcf3448a8cc12a;hp=49cadbb1bea56f3c29b40cd59f4b5f117ca9728f;hpb=35b092aaa718dcb12933effd33324bda5d3b5cce;p=libs%2Fal.git diff --git a/source/oggdecoder.h b/source/oggdecoder.h index 49cadbb..e194736 100644 --- a/source/oggdecoder.h +++ b/source/oggdecoder.h @@ -18,6 +18,10 @@ private: }; +/** +Decoder for Ogg Vorbis files. Normally you should use one of the +SoundDecoder::open_* functions to create a decoder. +*/ class OggDecoder: public SoundDecoder { private: @@ -29,7 +33,9 @@ public: OggDecoder(IO::Seekable &); ~OggDecoder(); - virtual void rewind(); + static bool detect(const std::string &); + + virtual void seek(unsigned); virtual unsigned read(char *, unsigned); };