diff options
author | David Robillard <d@drobilla.net> | 2008-10-03 03:16:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-10-03 03:16:19 +0000 |
commit | ec6ab8a04811acd1b548a23ab8f95c27797267fe (patch) | |
tree | 4b4106dd6cb9a10f56eb423f3e8291f99a7ce2d1 /libs/ardour/route.cc | |
parent | 612850c41b880ef2971a87cd1afa50c077b32c8d (diff) |
Apply panners/automation patch from torbenh (Panner is-a Processor).
git-svn-id: svn://localhost/ardour2/branches/3.0@3848 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 740e5949b4..78d4a85e61 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -1046,7 +1046,9 @@ Route::passthru (nframes_t start_frame, nframes_t end_frame, nframes_t nframes, if (meter_first) { _meter->run_in_place(bufs, start_frame, end_frame, nframes, offset); meter_first = false; - } + } else { + meter_first = true; + } process_output_buffers (bufs, start_frame, end_frame, nframes, offset, true, declick, meter_first); } @@ -1163,6 +1165,7 @@ Route::add_processor (boost::shared_ptr<Processor> processor, ProcessorStreams* _meter->configure_io (potential_max_streams, potential_max_streams); + // XXX: do we want to emit the signal here ? change call order. processor->activate (); processor->ActiveChanged.connect (bind (mem_fun (_session, &Session::update_latency_compensation), false, false)); @@ -2830,7 +2833,7 @@ Route::roll (nframes_t nframes, nframes_t start_frame, nframes_t end_frame, nfra if (am.locked() && _session.transport_rolling()) { - if (_gain_control->alist()->automation_playback()) { + if (_gain_control->automation_playback()) { apply_gain_automation = _gain_control->list()->curve().rt_safe_get_vector ( start_frame, end_frame, _session.gain_automation_buffer(), nframes); } |