mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
enable LuaAPI::Vamp::analyze() callback
This commit is contained in:
parent
b55975a861
commit
52b6ad1b96
1 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue