diff data/model/WritableWaveFileModel.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 e994747fb9dd
children 54af1e21705c
line wrap: on
line diff
--- a/data/model/WritableWaveFileModel.cpp	Fri Dec 09 19:04:33 2016 +0000
+++ b/data/model/WritableWaveFileModel.cpp	Tue Dec 13 12:03:48 2016 +0000
@@ -111,7 +111,7 @@
 }
 
 bool
-WritableWaveFileModel::addSamples(float **samples, sv_frame_t count)
+WritableWaveFileModel::addSamples(const float *const *samples, sv_frame_t count)
 {
     if (!m_writer) return false;