16 #ifndef _OGG_VORBIS_FILE_READER_H_ 17 #define _OGG_VORBIS_FILE_READER_H_ 25 #include <oggz/oggz.h> 26 #include <fishsound/fishsound.h> 46 bool normalised =
false,
88 static int readPacket(OGGZ *, ogg_packet *,
long,
void *);
89 static int acceptFrames(FishSound *,
float **,
long,
void *);
virtual int getDecodeCompletion() const
virtual bool isUpdating() const
DecodeThread(OggVorbisFileReader *reader)
QString getLocation() const
Return the location filename or URL as passed to the constructor.
OggVorbisFileReader(FileSource source, DecodeMode decodeMode, CacheMode cacheMode, int targetRate=0, bool normalised=false, ProgressReporter *reporter=0)
static void getSupportedExtensions(std::set< QString > &extensions)
DecodeThread * m_decodeThread
virtual QString getError() const
virtual ~OggVorbisFileReader()
std::map< QString, QString > TagMap
virtual TagMap getTags() const
static int readPacket(OGGZ *, ogg_packet *, long, void *)
OggVorbisFileReader * m_reader
FileSource is a class used to refer to the contents of a file that may be either local or at a remote...
virtual QString getTitle() const
Return the title of the work in the audio file, if known.
virtual QString getMaker() const
Return the "maker" of the work in the audio file, if known.
static bool supportsContentType(QString type)
static int acceptFrames(FishSound *, float **, long, void *)
ProgressReporter * m_reporter
static bool supports(FileSource &source)
virtual QString getLocation() const
Return the location of the audio data in the reader (as passed in to the FileSource constructor,...
static bool supportsExtension(QString ext)