diff options
author | Carl Hetherington <carl@carlh.net> | 2011-02-20 00:55:32 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-02-20 00:55:32 +0000 |
commit | 13232d03f3e5f8a5d7d19392c26c27ce0327250c (patch) | |
tree | 8c7b3b49174595d75b9ca8e13d12d10aa7a3a318 /libs/ardour/monitor_processor.cc | |
parent | c77d116703647a72cd7d01c6735fa610a88171dd (diff) |
Modify route _processor list set up so that the logic for placing `invisible' processors (e.g. internal returns etc.) is in one place. Add option to get pre-fade listen from before or after pre-fade processors (#3781).
git-svn-id: svn://localhost/ardour2/branches/3.0@8903 d708f5d6-7413-0410-9779-e7cbd77b26cf
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 |