Mercurial > hg > svcore
comparison data/fileio/DecodingWavFileReader.h @ 1605:d83ab62cdc28
Merge from branch bqaudiostream
author | Chris Cannam |
---|---|
date | Wed, 30 Jan 2019 14:57:12 +0000 |
parents | ce185d4dd408 |
children | 14747f24ad04 |
comparison
equal
deleted
inserted
replaced
1586:841b2a3e606d | 1605:d83ab62cdc28 |
---|---|
35 sv_samplerate_t targetRate = 0, | 35 sv_samplerate_t targetRate = 0, |
36 bool normalised = false, | 36 bool normalised = false, |
37 ProgressReporter *reporter = 0); | 37 ProgressReporter *reporter = 0); |
38 virtual ~DecodingWavFileReader(); | 38 virtual ~DecodingWavFileReader(); |
39 | 39 |
40 QString getTitle() const override { return m_title; } | |
41 QString getMaker() const override { return m_maker; } | |
42 | |
40 QString getError() const override { return m_error; } | 43 QString getError() const override { return m_error; } |
41 QString getLocation() const override { return m_source.getLocation(); } | 44 QString getLocation() const override { return m_source.getLocation(); } |
45 | |
42 static void getSupportedExtensions(std::set<QString> &extensions); | 46 static void getSupportedExtensions(std::set<QString> &extensions); |
43 static bool supportsExtension(QString ext); | 47 static bool supportsExtension(QString ext); |
44 static bool supportsContentType(QString type); | 48 static bool supportsContentType(QString type); |
45 static bool supports(FileSource &source); | 49 static bool supports(FileSource &source); |
46 | 50 |
53 public slots: | 57 public slots: |
54 void cancelled(); | 58 void cancelled(); |
55 | 59 |
56 protected: | 60 protected: |
57 FileSource m_source; | 61 FileSource m_source; |
62 QString m_title; | |
63 QString m_maker; | |
58 QString m_path; | 64 QString m_path; |
59 QString m_error; | 65 QString m_error; |
60 bool m_cancelled; | 66 bool m_cancelled; |
61 sv_frame_t m_processed; | 67 sv_frame_t m_processed; |
62 int m_completion; | 68 int m_completion; |