diff transform/FeatureExtractionModelTransformer.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 f35c1f9bfaa2
children 420fc961c0c4
line wrap: on
line diff
--- a/transform/FeatureExtractionModelTransformer.cpp	Wed Jun 10 14:44:09 2015 +0100
+++ b/transform/FeatureExtractionModelTransformer.cpp	Wed Jun 10 17:06:02 2015 +0100
@@ -811,7 +811,8 @@
             }
         }
 
-        got = input->getData(0, channelCount-1, startFrame, size, writebuf);
+        got = input->getMultiChannelData
+            (0, channelCount-1, startFrame, size, writebuf);
 
         if (writebuf != buffers) delete[] writebuf;
     }