diff transform/RealTimeEffectModelTransformer.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 a1cd5abcb38b
children 4d9816ba0ebe
line wrap: on
line diff
--- a/transform/RealTimeEffectModelTransformer.cpp	Wed Jun 10 14:44:09 2015 +0100
+++ b/transform/RealTimeEffectModelTransformer.cpp	Wed Jun 10 17:06:02 2015 +0100
@@ -204,9 +204,9 @@
             }
 	} else {
             if (inbufs && inbufs[0]) {
-                got = input->getData(0, channelCount - 1,
-                                     blockFrame, blockSize,
-                                     inbufs);
+                got = input->getMultiChannelData(0, channelCount - 1,
+                                                 blockFrame, blockSize,
+                                                 inbufs);
                 while (got < blockSize) {
                     for (int ch = 0; ch < channelCount; ++ch) {
                         inbufs[ch][got] = 0.0;