diff options
Diffstat (limited to 'libs/ardour/monitor_processor.cc')
-rw-r--r-- | libs/ardour/monitor_processor.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/monitor_processor.cc b/libs/ardour/monitor_processor.cc index 4f204031ac..be4431b98a 100644 --- a/libs/ardour/monitor_processor.cc +++ b/libs/ardour/monitor_processor.cc @@ -275,7 +275,7 @@ MonitorProcessor::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t / target_gain = 0.0; } } - + if (target_gain != _channels[chn]->current_gain || target_gain != 1.0f) { Amp::apply_gain (*b, nframes, _channels[chn]->current_gain, target_gain); @@ -334,7 +334,8 @@ MonitorProcessor::configure_io (ChanCount in, ChanCount out) bool MonitorProcessor::can_support_io_configuration (const ChanCount& in, ChanCount& out) const { - return in == out; + out = in; + return true; } void |