Mercurial > hg > vamp-plugin-sdk
diff examples/ZeroCrossing.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/ZeroCrossing.cpp Fri Mar 31 17:39:49 2006 +0000 +++ b/examples/ZeroCrossing.cpp Mon Apr 03 14:19:02 2006 +0000 @@ -100,18 +100,6 @@ m_previousSample = 0.0f; } -size_t -ZeroCrossing::getPreferredStepSize() const -{ - return 4096; // or whatever -} - -size_t -ZeroCrossing::getPreferredBlockSize() const -{ - return getPreferredStepSize(); -} - ZeroCrossing::OutputList ZeroCrossing::getOutputDescriptors() const {