Mercurial > hg > svcore
diff data/fileio/WavFileWriter.h @ 936:0c1d6de8f44b
Merge from branch warnfix_no_size_t
author | Chris Cannam |
---|---|
date | Wed, 18 Jun 2014 13:51:16 +0100 |
parents | 59e7fe1b1003 |
children | cc27f35aa75c |
line wrap: on
line diff
--- a/data/fileio/WavFileWriter.h Tue Jun 03 11:05:49 2014 +0100 +++ b/data/fileio/WavFileWriter.h Wed Jun 18 13:51:16 2014 +0100 @@ -44,7 +44,7 @@ WriteToTarget }; - WavFileWriter(QString path, size_t sampleRate, size_t channels, + WavFileWriter(QString path, int sampleRate, int channels, FileWriteMode mode); virtual ~WavFileWriter(); @@ -57,14 +57,14 @@ bool writeModel(DenseTimeValueModel *source, MultiSelection *selection = 0); - bool writeSamples(float **samples, size_t count); // count per channel + bool writeSamples(float **samples, int count); // count per channel bool close(); protected: QString m_path; - size_t m_sampleRate; - size_t m_channels; + int m_sampleRate; + int m_channels; TempWriteFile *m_temp; SNDFILE *m_file; QString m_error;