diff options
author | David Robillard <d@drobilla.net> | 2007-07-04 22:32:28 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-04 22:32:28 +0000 |
commit | a1052b0eca7bdc8ec1e3ac2996cd16bb48e2a6d2 (patch) | |
tree | 373c7861688e3ee2ec0d9ea04c387b46db85b995 /libs/ardour/ladspa_plugin.cc | |
parent | 2177f008411821e7bce9ca3c306ec64c70b1c58e (diff) |
Changed Processor interface to support out-of-place processors, for Panner.
git-svn-id: svn://localhost/ardour2/trunk@2106 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ladspa_plugin.cc')
-rw-r--r-- | libs/ardour/ladspa_plugin.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc index 731b76a0bc..5ca4a250cc 100644 --- a/libs/ardour/ladspa_plugin.cc +++ b/libs/ardour/ladspa_plugin.cc @@ -562,7 +562,7 @@ LadspaPlugin::connect_and_run (BufferSet& bufs, uint32_t& in_index, uint32_t& ou port_index++; } - run (nframes); + run_in_place (nframes); now = get_cycles (); set_cycles ((uint32_t) (now - then)); @@ -606,7 +606,7 @@ LadspaPlugin::print_parameter (uint32_t param, char *buf, uint32_t len) const } void -LadspaPlugin::run (nframes_t nframes) +LadspaPlugin::run_in_place (nframes_t nframes) { for (uint32_t i = 0; i < parameter_count(); ++i) { if (LADSPA_IS_PORT_INPUT(port_descriptor (i)) && LADSPA_IS_PORT_CONTROL(port_descriptor (i))) { @@ -656,7 +656,7 @@ LadspaPlugin::latency_compute_run () port_index++; } - run (bufsize); + run_in_place (bufsize); deactivate (); } |