Mercurial > hg > svcore
comparison data/fileio/DecodingWavFileReader.h @ 1097:abc309f507ae simple-fft-model
Tidy
author | Chris Cannam |
---|---|
date | Mon, 15 Jun 2015 12:38:50 +0100 |
parents | 4d9816ba0ebe |
children | 54af1e21705c |
comparison
equal
deleted
inserted
replaced
1096:4d9816ba0ebe | 1097:abc309f507ae |
---|---|
27 | 27 |
28 class DecodingWavFileReader : public CodedAudioFileReader | 28 class DecodingWavFileReader : public CodedAudioFileReader |
29 { | 29 { |
30 Q_OBJECT | 30 Q_OBJECT |
31 public: | 31 public: |
32 enum ResampleMode { | |
33 ResampleAtOnce, // resample the file on construction, with progress dialog | |
34 ResampleThreaded // resample in a background thread after construction | |
35 }; | |
36 | |
37 DecodingWavFileReader(FileSource source, | 32 DecodingWavFileReader(FileSource source, |
38 ResampleMode resampleMode, | 33 DecodeMode decodeMode, // determines when to resample |
39 CacheMode cacheMode, | 34 CacheMode cacheMode, |
40 sv_samplerate_t targetRate = 0, | 35 sv_samplerate_t targetRate = 0, |
41 bool normalised = false, | 36 bool normalised = false, |
42 ProgressReporter *reporter = 0); | 37 ProgressReporter *reporter = 0); |
43 virtual ~DecodingWavFileReader(); | 38 virtual ~DecodingWavFileReader(); |