diff data/fileio/DecodingWavFileReader.h @ 1592:f8e3dcbafb4d bqaudiostream

Implement title/maker in wav readers; extra handling of supported-ness for file types
author Chris Cannam
date Mon, 21 Jan 2019 13:16:17 +0000
parents 54af1e21705c
children ce185d4dd408
line wrap: on
line diff
--- a/data/fileio/DecodingWavFileReader.h	Mon Jan 21 11:45:51 2019 +0000
+++ b/data/fileio/DecodingWavFileReader.h	Mon Jan 21 13:16:17 2019 +0000
@@ -37,6 +37,9 @@
                           ProgressReporter *reporter = 0);
     virtual ~DecodingWavFileReader();
 
+    QString getTitle() const override { return m_title; }
+    QString getMaker() const override { return m_maker; }
+    
     virtual QString getError() const { return m_error; }
     virtual QString getLocation() const { return m_source.getLocation(); }
     static void getSupportedExtensions(std::set<QString> &extensions);
@@ -55,6 +58,8 @@
 
 protected:
     FileSource m_source;
+    QString m_title;
+    QString m_maker;
     QString m_path;
     QString m_error;
     bool m_cancelled;