diff data/model/WritableWaveFileModel.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 e994747fb9dd
children 54af1e21705c
line wrap: on
line diff
--- a/data/model/WritableWaveFileModel.h	Fri Dec 09 19:04:33 2016 +0000
+++ b/data/model/WritableWaveFileModel.h	Tue Dec 13 12:03:48 2016 +0000
@@ -37,7 +37,7 @@
      * the progress of this file, if it has a known end point, and
      * should call writeComplete() when the file has been written.
      */
-    virtual bool addSamples(float **samples, sv_frame_t count);
+    virtual bool addSamples(const float *const *samples, sv_frame_t count);
 
     /**
      * Set the proportion of the file which has been written so far,