prepare fix for copying plugin state
[ardour.git] / libs / ardour / route.cc
index 0441928c0a1f7786e8de07132faa2d918b9bda91..5c34f42b7fa8ef0e0c06d59bcbd91064381b2453 100644 (file)
@@ -1466,7 +1466,6 @@ Route::add_processors (const ProcessorList& others, boost::shared_ptr<Processor>
                        boost::shared_ptr<PluginInsert> pi;
 
                        if ((pi = boost::dynamic_pointer_cast<PluginInsert>(*i)) != 0) {
-                               pi->set_count (1); // why? configure_processors_unlocked() will re-do this
                                pi->set_strict_io (_strict_io);
                        }
 
@@ -2096,7 +2095,7 @@ Route::try_configure_processors_unlocked (ChanCount in, ProcessorStreams* err)
                                 * Delivery::configure_io() will do the actual removal
                                 * by calling _output->ensure_io()
                                 */
-                               if (_session.master_out ()) {
+                               if (!is_master() && _session.master_out ()) {
                                        /* ..but at least as many as there are master-inputs */
                                        // XXX this may need special-casing for mixbus (master-outputs)
                                        // and should maybe be a preference anyway ?!