43 #ifndef _audiovorbisdecoder_h
44 #define _audiovorbisdecoder_h
46 #ifdef ENABLE_VORBIS_ENCODE
48 #include "Audio/decoder.h"
54 class VorbisDecoderInternalData;
59 class MEZZ_LIB VorbisDecoder :
public iDecoder
64 VorbisDecoderInternalData* VDID;
76 virtual ~VorbisDecoder();
87 virtual UInt32 GetNumUserComments()
const;
93 virtual bool IsValid();
97 virtual bool IsSeekingSupported();
101 virtual UInt32 GetFrequency()
const;
106 virtual bool SetPosition(
Int32 Position,
bool Relative);
108 virtual bool Seek(
const Real Seconds,
bool Relative);
111 virtual UInt32 ReadAudioData(
void* Output,
UInt32 Amount);
117 virtual Real GetTotalTime()
const;
119 virtual Real GetCurrentTime()
const;
121 virtual UInt32 GetTotalSize()
const;
123 virtual UInt32 GetCompressedSize()
const;
125 virtual UInt32 GetCurrentPosition()
const;
127 virtual UInt32 GetCurrentCompressedPosition()
const;
132 #endif //ENABLE_VORBIS_ENCODE