22 #ifndef FIFE_SOUNDDECODER_OGG_H
23 #define FIFE_SOUNDDECODER_OGG_H
30 #include <vorbisfile.h>
31 #include <boost/scoped_ptr.hpp>
37 #include "vfs/raw/rawdata.h"
38 #include "audio/sounddecoder.h"
41 class SoundDecoderOgg :
public SoundDecoder {
44 SoundDecoderOgg(RawData* ptr);
52 uint64_t getDecodedLength()
const{
60 bool setCursor(uint64_t pos);
67 bool decode(uint64_t length);
73 void *getBuffer()
const{
79 uint64_t getBufferSize() {
85 void releaseBuffer() {
93 boost::scoped_ptr<RawData> m_file;