# HG changeset patch # User Chris Cannam # Date 1252596358 0 # Node ID af5e469ac654cefb090a4bd0fa54e757e1ba8e32 # Parent 18c42fbc1335a2018f52b7b792170f625ab5f6ab * print a bit more info for diagnostic purposes diff -r 18c42fbc1335 -r af5e469ac654 runner/FeatureExtractionManager.cpp --- a/runner/FeatureExtractionManager.cpp Tue Sep 08 16:51:24 2009 +0000 +++ b/runner/FeatureExtractionManager.cpp Thu Sep 10 15:25:58 2009 +0000 @@ -203,9 +203,12 @@ size_t pluginStepSize = plugin->getPreferredStepSize(); size_t pluginBlockSize = plugin->getPreferredBlockSize(); + PluginInputDomainAdapter *pida = 0; + // adapt the plugin for buffering, channels, etc. if (plugin->getInputDomain() == Plugin::FrequencyDomain) { - plugin = new PluginInputDomainAdapter(plugin); + pida = new PluginInputDomainAdapter(plugin); + plugin = pida; } PluginBufferingAdapter *pba = new PluginBufferingAdapter(plugin); @@ -257,7 +260,17 @@ } cerr << "NOTE: Loaded and initialised plugin for transform \"" - << transform.getIdentifier().toStdString() << "\"" << endl; + << transform.getIdentifier().toStdString() + << "\" with plugin step size " << actualStepSize + << " and block size " << actualBlockSize + << " (adapter step and block size " << m_blockSize << ")" + << endl; + + if (pida) { + cerr << "NOTE: PluginInputDomainAdapter timestamp adjustment is " + + << pida->getTimestampAdjustment() << endl; + } } else {