Revision 13:0d4048bfadbb BeatRootVampPlugin.cpp

View differences:

BeatRootVampPlugin.cpp
217 217

  
218 218
    FeatureSet fs;
219 219

  
220
    for (int i = 0; i < el.size(); ++i) {
221
        f.timestamp = Vamp::RealTime::frame2RealTime(el[i].time, m_inputSampleRate);
220
    for (EventList::const_iterator i = el.begin(); i != el.end(); ++i) {
221
        f.timestamp = Vamp::RealTime::fromSeconds(i->time);
222 222
        fs[0].push_back(f);
223 223
    }
224 224

  

Also available in: Unified diff