comparison data/fileio/DecodingWavFileReader.h @ 1040:a1cd5abcb38b cxx11

Introduce and use a samplerate type
author Chris Cannam
date Wed, 04 Mar 2015 12:01:04 +0000
parents cc27f35aa75c
children 4d9816ba0ebe
comparison
equal deleted inserted replaced
1039:b14064bd1f97 1040:a1cd5abcb38b
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 int targetRate = 0, 40 sv_samplerate_t targetRate = 0,
41 bool normalised = false, 41 bool normalised = false,
42 ProgressReporter *reporter = 0); 42 ProgressReporter *reporter = 0);
43 virtual ~DecodingWavFileReader(); 43 virtual ~DecodingWavFileReader();
44 44
45 virtual QString getError() const { return m_error; } 45 virtual QString getError() const { return m_error; }