diff 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
line wrap: on
line diff
--- a/data/fileio/AudioFileReaderFactory.h	Mon Jun 16 11:28:45 2014 +0100
+++ b/data/fileio/AudioFileReaderFactory.h	Wed Jun 18 13:42:01 2014 +0100
@@ -53,7 +53,7 @@
      * Caller owns the returned object and must delete it after use.
      */
     static AudioFileReader *createReader(FileSource source,
-                                         size_t targetRate = 0,
+                                         int targetRate = 0,
                                          bool normalised = false,
                                          ProgressReporter *reporter = 0);
 
@@ -82,13 +82,13 @@
      * Caller owns the returned object and must delete it after use.
      */
     static AudioFileReader *createThreadingReader(FileSource source,
-                                                  size_t targetRate = 0,
+                                                  int targetRate = 0,
                                                   bool normalised = false,
                                                   ProgressReporter *reporter = 0);
 
 protected:
     static AudioFileReader *create(FileSource source,
-                                   size_t targetRate,
+                                   int targetRate,
                                    bool normalised,
                                    bool threading,
                                    ProgressReporter *reporter);