diff data/model/DenseTimeValueModel.cpp @ 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 cc27f35aa75c
children 4d9816ba0ebe
line wrap: on
line diff
--- a/data/model/DenseTimeValueModel.cpp	Wed Jun 10 14:44:09 2015 +0100
+++ b/data/model/DenseTimeValueModel.cpp	Wed Jun 10 17:06:02 2015 +0100
@@ -42,7 +42,7 @@
         all[c] = new float[f1 - f0];
     }
 
-    sv_frame_t n = getData(0, ch - 1, f0, f1 - f0, all);
+    sv_frame_t n = getMultiChannelData(0, ch - 1, f0, f1 - f0, all);
 
     QStringList list;
     for (sv_frame_t i = 0; i < n; ++i) {