diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-10-18 13:18:47 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-10-18 13:18:47 +0000 |
commit | 4085309cdb07f011756a9ab90047037ef9ad8f20 (patch) | |
tree | 22fb3764a0b8120a06397b3605c59589be5f78d8 /libs/ardour/plugin_insert.cc | |
parent | 9ec965a54eb9bafa6fa0cf4837809189affac49f (diff) |
make Stateful::_id private and provide appropriate methods to set it, and use them throughout ardour
git-svn-id: svn://localhost/ardour2/branches/3.0@10222 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/plugin_insert.cc')
-rw-r--r-- | libs/ardour/plugin_insert.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index b44f1d01fc..ea95ed09e5 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -75,9 +75,6 @@ PluginInsert::PluginInsert (Session& s, boost::shared_ptr<Plugin> plug) if (plug) { add_plugin (plug); create_automatable_parameters (); - - Glib::Mutex::Lock em (_session.engine().process_lock()); - IO::PortCountChanged (max(input_streams(), output_streams())); } } @@ -950,9 +947,7 @@ PluginInsert::set_state(const XMLNode& node, int version) // state. We can't call Processor::set_state() until // the plugins themselves are created and added. - if ((prop = node.property ("id")) != 0) { - _id = prop->value(); - } + set_id (node); if (_plugins.empty()) { /* if we are adding the first plugin, we will need to set |