diff data/fileio/MP3FileReader.h @ 157:c03ec31005e1

* Add zoom thumbwheels to Pane. Implement horizontal thumbwheel, and vertical depending on layer type (supported for waveform and spectrogram, though wrong for log-scale spectrogram at the moment). * Add bare bones of a spectrum layer. * Add window icon * Add shortcut for "insert time instant" on laptops without keypad enter (";") * Delete FFT processing thread when it exits (at least, next time we're asked for something interesting) * Get audio file extensions from the file readers, and thus from libsndfile for the wave file reader -- leads to rather a wide combo box in file dialog though * Better refresh order for spectrogram (redraw centre section first)
author Chris Cannam
date Fri, 04 Aug 2006 17:01:37 +0000
parents 1a42221a1522
children 71dfc6ab3b54
line wrap: on
line diff
--- a/data/fileio/MP3FileReader.h	Thu Aug 03 16:04:00 2006 +0000
+++ b/data/fileio/MP3FileReader.h	Fri Aug 04 17:01:37 2006 +0000
@@ -22,6 +22,8 @@
 
 #include <mad.h>
 
+#include <set>
+
 class QProgressDialog;
 
 class MP3FileReader : public CodedAudioFileReader
@@ -31,6 +33,8 @@
     virtual ~MP3FileReader();
 
     virtual QString getError() const { return m_error; }
+
+    static void getSupportedExtensions(std::set<QString> &extensions);
     
 protected:
     QString m_path;