plugins/Mfcc.cpp: fix output rate
authorPaul Brossier <piem@piem.org>
Fri, 22 Jul 2016 13:31:16 +0000 (15:31 +0200)
committerPaul Brossier <piem@piem.org>
Fri, 22 Jul 2016 13:31:16 +0000 (15:31 +0200)
plugins/Mfcc.cpp

index 1df5d32..4c11fbb 100644 (file)
@@ -199,8 +199,8 @@ Mfcc::getOutputDescriptors() const
     d.hasFixedBinCount = true;
     d.binCount = m_ncoeffs;
     d.isQuantized = true;
-    d.sampleType = OutputDescriptor::FixedSampleRate;
-    d.sampleRate = OutputDescriptor::OneSamplePerStep;
+    d.quantizeStep = 1.0;
+    d.sampleType = OutputDescriptor::OneSamplePerStep;
     list.push_back(d);
 
     return list;