Mercurial > hg > svcore
comparison data/fileio/BQAFileReader.h @ 1590:2f8ee436e858 bqaudiostream
Merge
author | Chris Cannam |
---|---|
date | Thu, 17 Jan 2019 17:30:09 +0000 |
parents | b67f5b6a7978 |
children | 14747f24ad04 |
comparison
equal
deleted
inserted
replaced
1589:99afceeb1a45 | 1590:2f8ee436e858 |
---|---|
39 sv_samplerate_t targetRate = 0, | 39 sv_samplerate_t targetRate = 0, |
40 bool normalised = false, | 40 bool normalised = false, |
41 ProgressReporter *reporter = 0); | 41 ProgressReporter *reporter = 0); |
42 virtual ~BQAFileReader(); | 42 virtual ~BQAFileReader(); |
43 | 43 |
44 virtual QString getError() const { return m_error; } | 44 QString getError() const override { return m_error; } |
45 virtual QString getLocation() const { return m_source.getLocation(); } | 45 QString getLocation() const override { return m_source.getLocation(); } |
46 virtual QString getTitle() const { return m_title; } | 46 QString getTitle() const override { return m_title; } |
47 virtual QString getMaker() const { return m_maker; } | 47 QString getMaker() const override { return m_maker; } |
48 virtual TagMap getTags() const { return m_tags; } | |
49 | 48 |
50 static void getSupportedExtensions(std::set<QString> &extensions); | 49 static void getSupportedExtensions(std::set<QString> &extensions); |
51 static bool supportsExtension(QString ext); | 50 static bool supportsExtension(QString ext); |
52 static bool supportsContentType(QString type); | 51 static bool supportsContentType(QString type); |
53 static bool supports(FileSource &source); | 52 static bool supports(FileSource &source); |
54 | 53 |
55 virtual int getDecodeCompletion() const { return m_completion; } | 54 int getDecodeCompletion() const override { return m_completion; } |
56 | 55 |
57 virtual bool isUpdating() const { | 56 bool isUpdating() const override { |
58 return m_decodeThread && m_decodeThread->isRunning(); | 57 return m_decodeThread && m_decodeThread->isRunning(); |
59 } | 58 } |
60 | 59 |
61 public slots: | 60 public slots: |
62 void cancelled(); | 61 void cancelled(); |
65 FileSource m_source; | 64 FileSource m_source; |
66 QString m_path; | 65 QString m_path; |
67 QString m_error; | 66 QString m_error; |
68 QString m_title; | 67 QString m_title; |
69 QString m_maker; | 68 QString m_maker; |
70 TagMap m_tags; | |
71 | 69 |
72 breakfastquay::AudioReadStream *m_stream; | 70 breakfastquay::AudioReadStream *m_stream; |
73 | 71 |
74 bool m_cancelled; | 72 bool m_cancelled; |
75 int m_completion; | 73 int m_completion; |