diff data/fileio/WavFileWriter.cpp @ 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 4d9816ba0ebe
children 54af1e21705c
line wrap: on
line diff
--- a/data/fileio/WavFileWriter.cpp	Fri Dec 09 19:04:33 2016 +0000
+++ b/data/fileio/WavFileWriter.cpp	Tue Dec 13 12:03:48 2016 +0000
@@ -166,7 +166,7 @@
 }
 	
 bool
-WavFileWriter::writeSamples(float **samples, sv_frame_t count)
+WavFileWriter::writeSamples(const float *const *samples, sv_frame_t count)
 {
     if (!m_file) {
         m_error = QString("Failed to write model to audio file '%1': File not open")