comparison data/fileio/WavFileWriter.h @ 1325:3aea4f7617bb 3.0-integration

Handle increases in the overall channel count by closing and reopening the audio device.
author Chris Cannam
date Tue, 13 Dec 2016 12:03:48 +0000
parents a1cd5abcb38b
children b3cb0edc25cd
comparison
equal deleted inserted replaced
1323:4dbb7a7c9c28 1325:3aea4f7617bb
57 QString getPath() const { return m_path; } 57 QString getPath() const { return m_path; }
58 58
59 bool writeModel(DenseTimeValueModel *source, 59 bool writeModel(DenseTimeValueModel *source,
60 MultiSelection *selection = 0); 60 MultiSelection *selection = 0);
61 61
62 bool writeSamples(float **samples, sv_frame_t count); // count per channel 62 bool writeSamples(const float *const *samples, sv_frame_t count); // count per channel
63 63
64 bool close(); 64 bool close();
65 65
66 protected: 66 protected:
67 QString m_path; 67 QString m_path;