diff options
author | Robin Gareus <robin@gareus.org> | 2016-10-03 05:13:41 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-10-03 05:13:41 +0200 |
commit | 52b6ad1b962f104ebd5ad050587a0d6325e57ce4 (patch) | |
tree | 0296c1b7e89b35aa259448cb2063596d27e2baa0 /libs/ardour/lua_api.cc | |
parent | b55975a8614da32db73134e7a5b654c6dc8932fe (diff) |
enable LuaAPI::Vamp::analyze() callback
Diffstat (limited to 'libs/ardour/lua_api.cc')
-rw-r--r-- | libs/ardour/lua_api.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/ardour/lua_api.cc b/libs/ardour/lua_api.cc index 2f6c995851..a96263b482 100644 --- a/libs/ardour/lua_api.cc +++ b/libs/ardour/lua_api.cc @@ -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; |