diff examples/SpectralCentroid.cpp @ 8:c4662bbef275

* Allow plugins to return 0 for preferred block/step size to accept a host default
author cannam
date Mon, 03 Apr 2006 14:19:02 +0000
parents c66551966b5f
children 44113b1e296b
line wrap: on
line diff
--- a/examples/SpectralCentroid.cpp	Fri Mar 31 17:39:49 2006 +0000
+++ b/examples/SpectralCentroid.cpp	Mon Apr 03 14:19:02 2006 +0000
@@ -109,18 +109,6 @@
     m_workBuffer = new double[m_blockSize * 4];
 }
 
-size_t
-SpectralCentroid::getPreferredStepSize() const
-{
-    return 2048; // or whatever -- parameter?
-}
-
-size_t
-SpectralCentroid::getPreferredBlockSize() const
-{
-    return getPreferredStepSize();
-}
-
 SpectralCentroid::OutputList
 SpectralCentroid::getOutputDescriptors() const
 {