]> git.tdb.fi Git - libs/al.git/blobdiff - source/oggdecoder.h
Fix sound file signature comparisons
[libs/al.git] / source / oggdecoder.h
index 49cadbb1bea56f3c29b40cd59f4b5f117ca9728f..e194736a40207a09710fccec8ce37a72d4b512cc 100644 (file)
@@ -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);
 };