always run amp/trim LPF
authorRobin Gareus <robin@gareus.org>
Tue, 21 Jun 2016 19:58:38 +0000 (21:58 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 21 Jun 2016 19:59:21 +0000 (21:59 +0200)
This fixes "clicks" when switching fader automation from "manual"
to "play/touch" while the transport is rolling.

libs/ardour/amp.cc

index a1ffad8e051beeeb9c37293c64cc114760fae3b5..273acc77f9a16ed3da3be1a7daf5e9bbaccbc5a6 100644 (file)
@@ -388,7 +388,7 @@ Amp::setup_gain_automation (framepos_t start_frame, framepos_t end_frame, framec
                assert (_gain_automation_buffer);
                _apply_gain_automation = _gain_control->list()->curve().rt_safe_get_vector (
                        start_frame, end_frame, _gain_automation_buffer, nframes);
-               if (start_frame != _current_automation_frame) {
+               if (start_frame != _current_automation_frame && _session.bounce_processing ()) {
                        _current_gain = _gain_automation_buffer[0];
                }
                _current_automation_frame = end_frame;