mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
objects don't have a time domain, they have a time domain provider (GUI)
This commit is contained in:
parent
3b565693c8
commit
e9585ad530
5 changed files with 8 additions and 8 deletions
|
|
@ -2082,7 +2082,7 @@ ProcessorBox::_drop_plugin_preset (Gtk::SelectionData const &data, Route::Proces
|
|||
p->load_preset (ppp->_preset);
|
||||
}
|
||||
|
||||
std::shared_ptr<Processor> processor (new PluginInsert (*_session, _route->time_domain(), p));
|
||||
std::shared_ptr<Processor> processor (new PluginInsert (*_session, *_route, p));
|
||||
if (Config->get_new_plugins_active ()) {
|
||||
processor->enable (true);
|
||||
}
|
||||
|
|
@ -2105,7 +2105,7 @@ ProcessorBox::_drop_plugin (Gtk::SelectionData const &data, Route::ProcessorList
|
|||
if (!p) {
|
||||
continue;
|
||||
}
|
||||
std::shared_ptr<Processor> processor (new PluginInsert (*_session, _route->time_domain(), p));
|
||||
std::shared_ptr<Processor> processor (new PluginInsert (*_session, *_route, p));
|
||||
if (Config->get_new_plugins_active ()) {
|
||||
processor->enable (true);
|
||||
}
|
||||
|
|
@ -2788,7 +2788,7 @@ ProcessorBox::use_plugins (const SelectedPlugins& plugins)
|
|||
{
|
||||
for (SelectedPlugins::const_iterator p = plugins.begin(); p != plugins.end(); ++p) {
|
||||
|
||||
std::shared_ptr<Processor> processor (new PluginInsert (*_session, _route->time_domain(), *p));
|
||||
std::shared_ptr<Processor> processor (new PluginInsert (*_session, *_route, *p));
|
||||
|
||||
Route::ProcessorStreams err_streams;
|
||||
|
||||
|
|
@ -3769,7 +3769,7 @@ ProcessorBox::paste_processor_state (const XMLNodeList& nlist, std::shared_ptr<P
|
|||
/* XXX its a bit limiting to assume that everything else
|
||||
is a plugin.
|
||||
*/
|
||||
p.reset (new PluginInsert (*_session, _route->time_domain()));
|
||||
p.reset (new PluginInsert (*_session, *_route));
|
||||
/* we can't use RAII Stateful::ForceIDRegeneration
|
||||
* because that'd void copying the state and wrongly bump
|
||||
* the state-version counter.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue