[Sv1-commits] SF.net SVN: sv1:[1626] sonic-annotator/trunk/runner/ FeatureExtractionManager.cpp
Brought to you by:
cannam
From: <ca...@us...> - 2009-09-16 11:28:28
|
Revision: 1626 http://sv1.svn.sourceforge.net/sv1/?rev=1626&view=rev Author: cannam Date: 2009-09-16 11:28:21 +0000 (Wed, 16 Sep 2009) Log Message: ----------- * 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 Modified Paths: -------------- sonic-annotator/trunk/runner/FeatureExtractionManager.cpp Modified: sonic-annotator/trunk/runner/FeatureExtractionManager.cpp =================================================================== --- sonic-annotator/trunk/runner/FeatureExtractionManager.cpp 2009-09-11 15:42:32 UTC (rev 1625) +++ sonic-annotator/trunk/runner/FeatureExtractionManager.cpp 2009-09-16 11:28:21 UTC (rev 1626) @@ -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; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |