svcore
1.9
|
DecodingWavFileReader.h
Go to the documentation of this file.
DecodeThread(DecodingWavFileReader *reader)
Definition: DecodingWavFileReader.h:79
QString getLocation() const override
Return the location of the audio data in the reader (as passed in to the FileSource constructor...
Definition: DecodingWavFileReader.h:45
QString getLocation() const
Return the location filename or URL as passed to the constructor.
Definition: FileSource.cpp:616
static bool supportsContentType(QString type)
Definition: DecodingWavFileReader.cpp:193
Definition: ProgressReporter.h:22
Definition: DecodingWavFileReader.h:29
QString getError() const override
If isOK() is false, return an error string.
Definition: DecodingWavFileReader.h:44
void run() override
Definition: DecodingWavFileReader.cpp:125
static bool supports(FileSource &source)
Definition: DecodingWavFileReader.cpp:199
Definition: CodedAudioFileReader.h:40
void addBlock(const floatvec_t &frames)
Definition: DecodingWavFileReader.cpp:161
std::vector< float, breakfastquay::StlAllocator< float > > floatvec_t
Definition: BaseTypes.h:53
DecodeThread * m_decodeThread
Definition: DecodingWavFileReader.h:86
int getDecodeCompletion() const override
Return a percentage value indicating how far through decoding the audio file we are.
Definition: DecodingWavFileReader.h:52
static void getSupportedExtensions(std::set< QString > &extensions)
Definition: DecodingWavFileReader.cpp:181
virtual ~DecodingWavFileReader()
Definition: DecodingWavFileReader.cpp:107
FileSource is a class used to refer to the contents of a file that may be either local or at a remote...
Definition: FileSource.h:59
Definition: Thread.h:24
DecodingWavFileReader(FileSource source, DecodeMode decodeMode, CacheMode cacheMode, sv_samplerate_t targetRate=0, bool normalised=false, ProgressReporter *reporter=0)
Definition: DecodingWavFileReader.cpp:26
bool isUpdating() const override
Return true if decoding is still in progress and the frame count may change.
Definition: DecodingWavFileReader.h:54
std::atomic< bool > m_cancelled
Definition: DecodingWavFileReader.h:67
ProgressReporter * m_reporter
Definition: DecodingWavFileReader.h:72
QString getMaker() const override
Return the "maker" of the work in the audio file, if known.
Definition: DecodingWavFileReader.h:42
QString getTitle() const override
Return the title of the work in the audio file, if known.
Definition: DecodingWavFileReader.h:41
DecodingWavFileReader * m_reader
Definition: DecodingWavFileReader.h:83
static bool supportsExtension(QString ext)
Definition: DecodingWavFileReader.cpp:187
Generated by 1.8.11