diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 22:21:27 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 22:21:27 -0400 |
commit | c8a9b28d3bee57604c5f8e4241f6f3ea10402f2c (patch) | |
tree | 764e2a40094d3151a535d78ced3b2cc82887f3e4 /libs/ardour/route.cc | |
parent | 40aebce6996abeccf46729ca069355f3bb34e5af (diff) |
remove getter for Amp::_apply_automation_gain; reset member to false after use, and true after ::setup_automation_gain
runs successfully
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index a3ff8c1fa5..598efec633 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -340,9 +340,6 @@ Route::process_output_buffers (BufferSet& bufs, start_sample + _trim->output_latency (), end_sample + _trim->output_latency (), nframes); - } else { - _amp->apply_gain_automation (false); - _trim->apply_gain_automation (false); } /* Tell main outs what to do about monitoring. We do this so that @@ -3585,8 +3582,6 @@ Route::no_roll (pframes_t nframes, samplepos_t start_sample, samplepos_t end_sam _meter->run (bufs, start_sample, end_sample, 0.0, nframes, true); } - _amp->apply_gain_automation (false); - _trim->apply_gain_automation (false); passthru (bufs, start_sample, end_sample, nframes, 0, true); flush_processor_buffers_locked (nframes); @@ -3612,7 +3607,6 @@ Route::roll (pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample } _silent = false; - _amp->apply_gain_automation(false); BufferSet& bufs = _session.get_route_buffers (n_process_buffers ()); |