comparison src/vamp-hostsdk/PluginSummarisingAdapter.cpp @ 337:d5c5a52e6c9f

Make the simple base-fft implementation accessible for use by plugins as well. Bump version to 2.4
author Chris Cannam
date Thu, 12 Jul 2012 11:37:31 +0100
parents c97e70ed5abc
children 632d90c185ec
comparison
equal deleted inserted replaced
336:50df48a51c97 337:d5c5a52e6c9f
564 564
565 int acount = m_accumulators[output].results.size(); 565 int acount = m_accumulators[output].results.size();
566 566
567 if (acount == 0) continue; 567 if (acount == 0) continue;
568 568
569 RealTime prevTimestamp = i->second;
570
571 #ifdef DEBUG_PLUGIN_SUMMARISING_ADAPTER 569 #ifdef DEBUG_PLUGIN_SUMMARISING_ADAPTER
572 std::cerr << "output " << output << ": "; 570 std::cerr << "output " << output << ": ";
573 #endif 571 #endif
574 572
575 if (m_prevDurations.find(output) != m_prevDurations.end() && 573 if (m_prevDurations.find(output) != m_prevDurations.end() &&
630 628
631 void 629 void
632 PluginSummarisingAdapter::Impl::segment() 630 PluginSummarisingAdapter::Impl::segment()
633 { 631 {
634 SegmentBoundaries::iterator boundaryitr = m_boundaries.begin(); 632 SegmentBoundaries::iterator boundaryitr = m_boundaries.begin();
635 RealTime segmentStart = RealTime::zeroTime;
636 633
637 #ifdef DEBUG_PLUGIN_SUMMARISING_ADAPTER_SEGMENT 634 #ifdef DEBUG_PLUGIN_SUMMARISING_ADAPTER_SEGMENT
638 std::cerr << "segment: starting" << std::endl; 635 std::cerr << "segment: starting" << std::endl;
639 #endif 636 #endif
640 637