summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/polarity_processor.cc3
-rw-r--r--libs/ardour/route.cc1
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/polarity_processor.cc b/libs/ardour/polarity_processor.cc
index 42231d9d27..35d74a5795 100644
--- a/libs/ardour/polarity_processor.cc
+++ b/libs/ardour/polarity_processor.cc
@@ -47,7 +47,8 @@ PolarityProcessor::configure_io (ChanCount in, ChanCount out)
return false;
}
- _current_gain.resize (in.n_audio (), 0.f);
+ _control->resize (in.n_audio ());
+ _current_gain.resize (in.n_audio (), 1.f);
return Processor::configure_io (in, out);
}
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 2d5857b202..b5311dc4fc 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -3452,7 +3452,6 @@ Route::input_change_handler (IOChange change, void * /*src*/)
contains ConfigurationChanged
*/
configure_processors (0);
- _phase_control->resize (_input->n_ports().n_audio ());
io_changed (); /* EMIT SIGNAL */
}