comparison data/fileio/AudioFileReaderFactory.h @ 935:f960d67ce842 tonioni

Merge from branch warnfix_no_size_t
author Chris Cannam
date Wed, 18 Jun 2014 13:42:01 +0100
parents d03b3d956358
children a1cd5abcb38b
comparison
equal deleted inserted replaced
925:3efc20c59a94 935:f960d67ce842
51 * object. 51 * object.
52 * 52 *
53 * Caller owns the returned object and must delete it after use. 53 * Caller owns the returned object and must delete it after use.
54 */ 54 */
55 static AudioFileReader *createReader(FileSource source, 55 static AudioFileReader *createReader(FileSource source,
56 size_t targetRate = 0, 56 int targetRate = 0,
57 bool normalised = false, 57 bool normalised = false,
58 ProgressReporter *reporter = 0); 58 ProgressReporter *reporter = 0);
59 59
60 /** 60 /**
61 * Return an audio file reader initialised to the file at the 61 * Return an audio file reader initialised to the file at the
80 * ownership of the reporter object. 80 * ownership of the reporter object.
81 * 81 *
82 * Caller owns the returned object and must delete it after use. 82 * Caller owns the returned object and must delete it after use.
83 */ 83 */
84 static AudioFileReader *createThreadingReader(FileSource source, 84 static AudioFileReader *createThreadingReader(FileSource source,
85 size_t targetRate = 0, 85 int targetRate = 0,
86 bool normalised = false, 86 bool normalised = false,
87 ProgressReporter *reporter = 0); 87 ProgressReporter *reporter = 0);
88 88
89 protected: 89 protected:
90 static AudioFileReader *create(FileSource source, 90 static AudioFileReader *create(FileSource source,
91 size_t targetRate, 91 int targetRate,
92 bool normalised, 92 bool normalised,
93 bool threading, 93 bool threading,
94 ProgressReporter *reporter); 94 ProgressReporter *reporter);
95 }; 95 };
96 96