22 #ifndef FIFE_SOUNDDECODER_OGG_H 23 #define FIFE_SOUNDDECODER_OGG_H 31 #include <vorbis/vorbisfile.h> 65 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.
std::unique_ptr< RawData > m_file
uint64_t getBufferSize()
Returns the byte-size of the buffer returned by getBuffer().
SoundDecoderOgg(RawData *ptr)
bool decode(uint64_t length)
Request the decoding of the next part of the stream.
Used to access diffrent kinds of data.