From 52b6ad1b962f104ebd5ad050587a0d6325e57ce4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 3 Oct 2016 05:13:41 +0200 Subject: enable LuaAPI::Vamp::analyze() callback --- libs/ardour/lua_api.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libs/ardour/lua_api.cc') 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 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 > - */ - // cb (features, pos); // XXX + cb (features, pos); } pos += to_read; -- cgit v1.2.3