objects don't have a time domain, they have a time domain provider (libs)

This commit is contained in:
Paul Davis 2023-07-21 09:56:42 -06:00
parent e430b54554
commit 3b565693c8
74 changed files with 268 additions and 244 deletions

View file

@ -115,7 +115,8 @@ ARDOUR::LuaAPI::new_luaproc_with_time_domain (Session *s, const string& name, Te
return std::shared_ptr<Processor> ();
}
return std::shared_ptr<Processor> (new PluginInsert (*s, td, p));
/* Lua processor takes time domain from session */
return std::shared_ptr<Processor> (new PluginInsert (*s, *s, p));
}
std::shared_ptr<Processor>
@ -244,7 +245,8 @@ ARDOUR::LuaAPI::new_plugin_with_time_domain (Session *s, const string& name, ARD
}
}
return std::shared_ptr<Processor> (new PluginInsert (*s, td, p));
/* Lua processor takes time domain from session */
return std::shared_ptr<Processor> (new PluginInsert (*s, *s, p));
}
bool