diff data/fileio/WavFileReader.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 954d0cf29ca7
children ce185d4dd408
line wrap: on
line diff
--- a/data/fileio/WavFileReader.h	Mon Jan 21 11:45:51 2019 +0000
+++ b/data/fileio/WavFileReader.h	Mon Jan 21 13:16:17 2019 +0000
@@ -51,6 +51,9 @@
     virtual QString getLocation() const { return m_source.getLocation(); }
     virtual QString getError() const { return m_error; }
 
+    QString getTitle() const override { return m_title; }
+    QString getMaker() const override { return m_maker; }
+    
     virtual QString getLocalFilename() const { return m_path; }
     
     virtual bool isQuicklySeekable() const { return m_seekable; }
@@ -81,6 +84,8 @@
     FileSource m_source;
     QString m_path;
     QString m_error;
+    QString m_title;
+    QString m_maker;
 
     bool m_seekable;