Mercurial > hg > svcore
comparison data/fileio/DecodingWavFileReader.h @ 920:f3cda3280398 tonioni
Add normalised option to CodedAudioFileReader
| author | Chris Cannam |
|---|---|
| date | Fri, 13 Jun 2014 16:03:48 +0100 |
| parents | f0558e69a074 |
| children | d03b3d956358 |
comparison
equal
deleted
inserted
replaced
| 919:4c7b4040bd2d | 920:f3cda3280398 |
|---|---|
| 33 ResampleAtOnce, // resample the file on construction, with progress dialog | 33 ResampleAtOnce, // resample the file on construction, with progress dialog |
| 34 ResampleThreaded // resample in a background thread after construction | 34 ResampleThreaded // resample in a background thread after construction |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 DecodingWavFileReader(FileSource source, | 37 DecodingWavFileReader(FileSource source, |
| 38 ResampleMode resampleMode, | 38 ResampleMode resampleMode, |
| 39 CacheMode cacheMode, | 39 CacheMode cacheMode, |
| 40 size_t targetRate = 0, | 40 size_t targetRate = 0, |
| 41 ProgressReporter *reporter = 0); | 41 bool normalised = false, |
| 42 ProgressReporter *reporter = 0); | |
| 42 virtual ~DecodingWavFileReader(); | 43 virtual ~DecodingWavFileReader(); |
| 43 | 44 |
| 44 virtual QString getError() const { return m_error; } | 45 virtual QString getError() const { return m_error; } |
| 45 virtual QString getLocation() const { return m_source.getLocation(); } | 46 virtual QString getLocation() const { return m_source.getLocation(); } |
| 46 static void getSupportedExtensions(std::set<QString> &extensions); | 47 static void getSupportedExtensions(std::set<QString> &extensions); |
