19 #ifndef _QUICKTIME_FILE_READER_H_ 20 #define _QUICKTIME_FILE_READER_H_ 43 DecodeMode decodeMode,
46 bool normalised =
false,
48 virtual ~QuickTimeFileReader();
50 virtual QString
getError()
const {
return m_error; }
51 virtual QString
getLocation()
const {
return m_source.getLocation(); }
52 virtual QString
getTitle()
const {
return m_title; }
54 static void getSupportedExtensions(std::set<QString> &extensions);
55 static bool supportsExtension(QString ext);
56 static bool supportsContentType(QString type);
62 return m_decodeThread && m_decodeThread->isRunning();
81 class DecodeThread :
public Thread 84 DecodeThread(QuickTimeFileReader *reader) : m_reader(reader) { }
88 QuickTimeFileReader *m_reader;
91 DecodeThread *m_decodeThread;
virtual QString getError() const
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
FileSource is a class used to refer to the contents of a file that may be either local or at a remote...
virtual bool isUpdating() const
virtual QString getTitle() const
Return the title of the work in the audio file, if known.