]> git.tdb.fi Git - libs/al.git/blobdiff - source/oggdecoder.h
Fix sound file signature comparisons
[libs/al.git] / source / oggdecoder.h
index aab8f5c8da6b06c7b66049e90d1687e2fe4ee4bc..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:
@@ -31,7 +35,7 @@ public:
 
        static bool detect(const std::string &);
 
-       virtual void rewind();
+       virtual void seek(unsigned);
        virtual unsigned read(char *, unsigned);
 };