From 3be01ea502addb80f191ff504b4d58b0a0012be9 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 26 May 2014 06:58:44 +0200 Subject: apply gain automation on bounce - fixes 5887 --- libs/ardour/amp.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libs/ardour/amp.cc') diff --git a/libs/ardour/amp.cc b/libs/ardour/amp.cc index 132be2e1c6..29032525f2 100644 --- a/libs/ardour/amp.cc +++ b/libs/ardour/amp.cc @@ -435,7 +435,10 @@ Amp::setup_gain_automation (framepos_t start_frame, framepos_t end_frame, framec { Glib::Threads::Mutex::Lock am (control_lock(), Glib::Threads::TRY_LOCK); - if (am.locked() && _session.transport_rolling() && _gain_control->automation_playback()) { + if (am.locked() + && (_session.transport_rolling() || _session.bounce_processing()) + && _gain_control->automation_playback()) + { assert (_gain_automation_buffer); _apply_gain_automation = _gain_control->list()->curve().rt_safe_get_vector ( start_frame, end_frame, _gain_automation_buffer, nframes); -- cgit v1.2.3