enable LuaAPI::Vamp::analyze() callback

This commit is contained in:
Robin Gareus 2016-10-03 05:13:41 +02:00
parent b55975a861
commit 52b6ad1b96

View file

@ -615,10 +615,7 @@ LuaAPI::Vamp::analyze (boost::shared_ptr<ARDOUR::Readable> r, uint32_t channel,
features = _plugin->process (bufs, ::Vamp::RealTime::fromSeconds ((double) pos / _sample_rate));
if (cb.type () == LUA_TFUNCTION) {
/* TODO existing "features" binding fails here
* std::map<int, std::vector<_VampHost::Vamp::Plugin::Feature> >
*/
// cb (features, pos); // XXX
cb (features, pos);
}
pos += to_read;