Mercurial > hg > sonic-annotator
changeset 26:0af07912f386
* 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
author | Chris Cannam |
---|---|
date | Wed, 16 Sep 2009 11:28:21 +0000 |
parents | af5e469ac654 |
children | 9fef62a3696d |
files | runner/FeatureExtractionManager.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }