Mercurial > hg > vamp-plugin-sdk
comparison src/vamp-hostsdk/PluginBufferingAdapter.cpp @ 382:656ce0eae135
Fix failure to reset timestamp rewriting when reset() called in buffering adapter (symptom: timestamps appear to continue to ascend from end point on second run after reset)
author | Chris Cannam |
---|---|
date | Fri, 12 Sep 2014 16:50:01 +0100 |
parents | bd9a63d35e71 |
children | 1522e2f6d700 |
comparison
equal
deleted
inserted
replaced
377:e43186ff8854 | 382:656ce0eae135 |
---|---|
564 | 564 |
565 for (size_t i = 0; i < m_queue.size(); ++i) { | 565 for (size_t i = 0; i < m_queue.size(); ++i) { |
566 m_queue[i]->reset(); | 566 m_queue[i]->reset(); |
567 } | 567 } |
568 | 568 |
569 m_fixedRateFeatureNos.clear(); | |
570 | |
569 m_plugin->reset(); | 571 m_plugin->reset(); |
570 } | 572 } |
571 | 573 |
572 PluginBufferingAdapter::FeatureSet | 574 PluginBufferingAdapter::FeatureSet |
573 PluginBufferingAdapter::Impl::process(const float *const *inputBuffers, | 575 PluginBufferingAdapter::Impl::process(const float *const *inputBuffers, |