16 #ifndef _WAV_FILE_READER_H_ 17 #define _WAV_FILE_READER_H_
WavFileReader(FileSource source, bool fileUpdating=false)
std::vector< float > SampleBlock
virtual QString getLocation() const
Return the location of the audio data in the reader (as passed in to the FileSource constructor,...
virtual int getDecodeCompletion() const
virtual bool isQuicklySeekable() const
Return true if this file supports fast seek and random access.
QString getLocation() const
Return the location filename or URL as passed to the constructor.
Reader for audio files using libsndfile.
static bool supportsExtension(QString ext)
static bool supportsContentType(QString type)
static bool supports(FileSource &source)
FileSource is a class used to refer to the contents of a file that may be either local or at a remote...
static void getSupportedExtensions(std::set< QString > &extensions)
virtual void getInterleavedFrames(int start, int count, SampleBlock &frames) const
Must be safe to call from multiple threads with different arguments on the same object at the same ti...
virtual QString getError() const