summaryrefslogtreecommitdiff
path: root/libs/ardour/amp.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-06-21 21:58:38 +0200
committerRobin Gareus <robin@gareus.org>2016-06-21 21:59:21 +0200
commit556c97b2d533e4b85742f8f4c73fbe8030ca3119 (patch)
tree6b2711fb3c050fee0ab3f3feeb2df8487de1056b /libs/ardour/amp.cc
parent9c32bfdf4cd86890df5923976e368db427b862ad (diff)
always run amp/trim LPF
This fixes "clicks" when switching fader automation from "manual" to "play/touch" while the transport is rolling.
Diffstat (limited to 'libs/ardour/amp.cc')
-rw-r--r--libs/ardour/amp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/amp.cc b/libs/ardour/amp.cc
index a1ffad8e05..273acc77f9 100644
--- a/libs/ardour/amp.cc
+++ b/libs/ardour/amp.cc
@@ -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;