comparison data/fileio/WavFileWriter.h @ 1038:cc27f35aa75c cxx11

Introducing the signed 64-bit frame index type, and fixing build failures from inclusion of -Wconversion with -Werror. Not finished yet.
author Chris Cannam
date Tue, 03 Mar 2015 15:18:24 +0000
parents 59e7fe1b1003
children a1cd5abcb38b
comparison
equal deleted inserted replaced
1037:bf0e5944289b 1038:cc27f35aa75c
17 #define _WAV_FILE_WRITER_H_ 17 #define _WAV_FILE_WRITER_H_
18 18
19 #include <QString> 19 #include <QString>
20 20
21 #include <sndfile.h> 21 #include <sndfile.h>
22
23 #include "base/BaseTypes.h"
22 24
23 class DenseTimeValueModel; 25 class DenseTimeValueModel;
24 class MultiSelection; 26 class MultiSelection;
25 class TempWriteFile; 27 class TempWriteFile;
26 28
55 QString getPath() const { return m_path; } 57 QString getPath() const { return m_path; }
56 58
57 bool writeModel(DenseTimeValueModel *source, 59 bool writeModel(DenseTimeValueModel *source,
58 MultiSelection *selection = 0); 60 MultiSelection *selection = 0);
59 61
60 bool writeSamples(float **samples, int count); // count per channel 62 bool writeSamples(float **samples, sv_frame_t count); // count per channel
61 63
62 bool close(); 64 bool close();
63 65
64 protected: 66 protected:
65 QString m_path; 67 QString m_path;