16 #ifndef _DECODING_WAV_FILE_READER_H_ 17 #define _DECODING_WAV_FILE_READER_H_ 41 bool normalised =
false,
DecodeThread(DecodingWavFileReader *reader)
static bool supportsContentType(QString type)
std::vector< float > SampleBlock
QString getLocation() const
Return the location filename or URL as passed to the constructor.
Reader for audio files using libsndfile.
static bool supports(FileSource &source)
virtual int getDecodeCompletion() const
DecodingWavFileReader(FileSource source, ResampleMode resampleMode, CacheMode cacheMode, int targetRate=0, bool normalised=false, ProgressReporter *reporter=0)
DecodeThread * m_decodeThread
virtual QString getError() const
virtual bool isUpdating() const
static void getSupportedExtensions(std::set< QString > &extensions)
virtual QString getLocation() const
Return the location of the audio data in the reader (as passed in to the FileSource constructor,...
virtual ~DecodingWavFileReader()
FileSource is a class used to refer to the contents of a file that may be either local or at a remote...
void addBlock(const SampleBlock &frames)
ProgressReporter * m_reporter
DecodingWavFileReader * m_reader
static bool supportsExtension(QString ext)
WavFileReader * m_original