# HG changeset patch # User Chris Cannam # Date 1253100501 0 # Node ID 0af07912f386f97ed36a379b9b26b1c8e2dfe9dd # Parent af5e469ac654cefb090a4bd0fa54e757e1ba8e32 * Use ShiftData method for PluginInputDomainAdapter, ensuring data is pre-padded so that the first block received by the plugin is that centred on 0 rather than starting on 0 diff -r af5e469ac654 -r 0af07912f386 runner/FeatureExtractionManager.cpp --- a/runner/FeatureExtractionManager.cpp Thu Sep 10 15:25:58 2009 +0000 +++ b/runner/FeatureExtractionManager.cpp Wed Sep 16 11:28:21 2009 +0000 @@ -208,6 +208,7 @@ // adapt the plugin for buffering, channels, etc. if (plugin->getInputDomain() == Plugin::FrequencyDomain) { pida = new PluginInputDomainAdapter(plugin); + pida->setProcessTimestampMethod(PluginInputDomainAdapter::ShiftData); plugin = pida; }