Mercurial > hg > svcore
comparison data/fileio/AudioFileReaderFactory.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 | 183ee2a55fc7 |
children | d03b3d956358 |
comparison
equal
deleted
inserted
replaced
928:6a94bb528e9d | 929:59e7fe1b1003 |
---|---|
48 * object. | 48 * object. |
49 * | 49 * |
50 * Caller owns the returned object and must delete it after use. | 50 * Caller owns the returned object and must delete it after use. |
51 */ | 51 */ |
52 static AudioFileReader *createReader(FileSource source, | 52 static AudioFileReader *createReader(FileSource source, |
53 size_t targetRate = 0, | 53 int targetRate = 0, |
54 ProgressReporter *reporter = 0); | 54 ProgressReporter *reporter = 0); |
55 | 55 |
56 /** | 56 /** |
57 * Return an audio file reader initialised to the file at the | 57 * Return an audio file reader initialised to the file at the |
58 * given path, or NULL if no suitable reader for this path is | 58 * given path, or NULL if no suitable reader for this path is |
73 * ownership of the reporter object. | 73 * ownership of the reporter object. |
74 * | 74 * |
75 * Caller owns the returned object and must delete it after use. | 75 * Caller owns the returned object and must delete it after use. |
76 */ | 76 */ |
77 static AudioFileReader *createThreadingReader(FileSource source, | 77 static AudioFileReader *createThreadingReader(FileSource source, |
78 size_t targetRate = 0, | 78 int targetRate = 0, |
79 ProgressReporter *reporter = 0); | 79 ProgressReporter *reporter = 0); |
80 | 80 |
81 protected: | 81 protected: |
82 static AudioFileReader *create(FileSource source, | 82 static AudioFileReader *create(FileSource source, |
83 size_t targetRate, | 83 int targetRate, |
84 bool threading, | 84 bool threading, |
85 ProgressReporter *reporter); | 85 ProgressReporter *reporter); |
86 }; | 86 }; |
87 | 87 |
88 #endif | 88 #endif |