]> git.tdb.fi Git - libs/al.git/blobdiff - source/mp3decoder.h
Fix sound file signature comparisons
[libs/al.git] / source / mp3decoder.h
index c026081126b3f76c259d9dea70e70948bd54b0dc..01fba634de283196b860d8b2ea4f83db55f71652 100644 (file)
@@ -18,6 +18,10 @@ private:
 };
 
 
+/**
+Decoder for MPEG-2 audio files, a.k.a. MP2 and MP3 files.  Normally you should
+use one of the SoundDecoder::open_* functions to create a decoder.
+*/
 class Mp3Decoder: public SoundDecoder
 {
 private:
@@ -35,7 +39,7 @@ public:
 
        static bool detect(const std::string &);
 
-       virtual void rewind();
+       virtual void seek(unsigned);
        virtual unsigned read(char *, unsigned);
 
 private: