diff data/fileio/CoreAudioFileReader.h @ 1097:abc309f507ae simple-fft-model

Tidy
author Chris Cannam
date Mon, 15 Jun 2015 12:38:50 +0100
parents a1cd5abcb38b
children ad5f892c0c4d
line wrap: on
line diff
--- a/data/fileio/CoreAudioFileReader.h	Mon Jun 15 12:19:47 2015 +0100
+++ b/data/fileio/CoreAudioFileReader.h	Mon Jun 15 12:38:50 2015 +0100
@@ -31,17 +31,12 @@
     Q_OBJECT
 
 public:
-    enum DecodeMode {
-        DecodeAtOnce, // decode the file on construction, with progress
-        DecodeThreaded // decode in a background thread after construction
-    };
-
     CoreAudioFileReader(FileSource source,
                         DecodeMode decodeMode,
                         CacheMode cacheMode,
                         sv_samplerate_t targetRate = 0,
                         bool normalised = false,
-                        ProgressReporter *reporter = 0);
+                        ProgressReporter *reporter = nullptr);
     virtual ~CoreAudioFileReader();
 
     virtual QString getError() const { return m_error; }