diff data/model/WaveFileModel.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/WaveFileModel.h	Wed Jun 10 14:44:09 2015 +0100
+++ b/data/model/WaveFileModel.h	Wed Jun 10 17:06:02 2015 +0100
@@ -63,14 +63,11 @@
     void setStartFrame(sv_frame_t startFrame) { m_startFrame = 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 **buffers) const;
+    virtual sv_frame_t getMultiChannelData(int fromchannel, int tochannel,
+                                           sv_frame_t start, sv_frame_t count,
+                                           float **buffers) const;
 
     virtual int getSummaryBlockSize(int desired) const;