22 #ifndef FIFE_SOUNDDECODER_OGG_H
23 #define FIFE_SOUNDDECODER_OGG_H
30 #include <vorbisfile.h>
31 #include <boost/scoped_ptr.hpp>
67 bool decode(uint64_t length);
void * getBuffer() const
Returns the next decoded buffer.
void releaseBuffer()
Releases the buffer returned by getBuffer()
bool setCursor(uint64_t pos)
Sets the current position in the file (in bytes)
uint64_t getDecodedLength() const
Returns the decoded length of the file in bytes.
uint64_t getBufferSize()
Returns the byte-size of the buffer returned by getBuffer().
SoundDecoderOgg(RawData *ptr)
boost::scoped_ptr< RawData > m_file
bool decode(uint64_t length)
Request the decoding of the next part of the stream.
Used to access diffrent kinds of data.