Mercurial > hg > svcore
comparison data/fileio/DecodingWavFileReader.h @ 929:59e7fe1b1003 warnfix_no_size_t
Unsigned removals and warning fixes in data/
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 14:33:42 +0100 |
parents | f0558e69a074 |
children | d03b3d956358 |
comparison
equal
deleted
inserted
replaced
928:6a94bb528e9d | 929:59e7fe1b1003 |
---|---|
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 int targetRate = 0, |
41 ProgressReporter *reporter = 0); | 41 ProgressReporter *reporter = 0); |
42 virtual ~DecodingWavFileReader(); | 42 virtual ~DecodingWavFileReader(); |
43 | 43 |
44 virtual QString getError() const { return m_error; } | 44 virtual QString getError() const { return m_error; } |
45 virtual QString getLocation() const { return m_source.getLocation(); } | 45 virtual QString getLocation() const { return m_source.getLocation(); } |
60 protected: | 60 protected: |
61 FileSource m_source; | 61 FileSource m_source; |
62 QString m_path; | 62 QString m_path; |
63 QString m_error; | 63 QString m_error; |
64 bool m_cancelled; | 64 bool m_cancelled; |
65 size_t m_processed; | 65 int m_processed; |
66 int m_completion; | 66 int m_completion; |
67 | 67 |
68 WavFileReader *m_original; | 68 WavFileReader *m_original; |
69 ProgressReporter *m_reporter; | 69 ProgressReporter *m_reporter; |
70 | 70 |