- _plugins.push_back (plug);
-
- init ();
-
- {
- Glib::Mutex::Lock em (_session.engine().process_lock());
- IO::PortCountChanged (max(input_streams(), output_streams()));
- }
-
- ProcessorCreated (this); /* EMIT SIGNAL */
-}
-
-PluginInsert::PluginInsert (Session& s, const XMLNode& node)
- : Processor (s, "unnamed plugin insert"),
- _signal_analysis_collected_nframes(0),
- _signal_analysis_collect_nframes_max(0)
-{
- if (set_state (node)) {
- throw failed_constructor();
- }
-
- // XXX: This would dump all automation, which has already been loaded by
- // Processor. But this could also have been related to the Parameter change..
- // will look into this later.
- //set_automatable ();
-
- {
- Glib::Mutex::Lock em (_session.engine().process_lock());
- IO::PortCountChanged (max(input_streams(), output_streams()));