diff data/model/WritableWaveFileModel.h @ 1086:9f4505ac9072

Tidy dense time-value model API a bit; add first simple unit test for FFT model
author Chris Cannam
date Wed, 10 Jun 2015 17:06:02 +0100
parents 0fd3661bcfff
children 4d9816ba0ebe b9faee02afa5
line wrap: on
line diff
--- a/data/model/WritableWaveFileModel.h	Wed Jun 10 14:44:09 2015 +0100
+++ b/data/model/WritableWaveFileModel.h	Wed Jun 10 17:06:02 2015 +0100
@@ -61,14 +61,11 @@
     void setStartFrame(sv_frame_t startFrame);
 
     virtual sv_frame_t getData(int channel, sv_frame_t start, sv_frame_t count,
-                           float *buffer) const;
+                               float *buffer) const;
 
-    virtual sv_frame_t getData(int channel, sv_frame_t start, sv_frame_t count,
-                           double *buffer) const;
-
-    virtual sv_frame_t getData(int fromchannel, int tochannel,
-                           sv_frame_t start, sv_frame_t count,
-                           float **buffer) const;
+    virtual sv_frame_t getMultiChannelData(int fromchannel, int tochannel,
+                                           sv_frame_t start, sv_frame_t count,
+                                           float **buffer) const;
 
     virtual int getSummaryBlockSize(int desired) const;