diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-01-22 17:00:57 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-01-22 17:00:57 +0000 |
commit | 44f9a6d73f92aa261177169e296b335c1319c78f (patch) | |
tree | 7e388bb02d7c42a97f2c070531555f5c0aacc10a /libs/ardour/ladspa_plugin.cc | |
parent | 753076d75ec900146f5fbba6c78cf94376e8be75 (diff) |
fix AU configure pathway so that we uninitialize the plugin if necessary; strip whitespace from AU names and creators
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6544 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 c782b54f18..f9c8fa836c 100644 --- a/libs/ardour/ladspa_plugin.cc +++ b/libs/ardour/ladspa_plugin.cc @@ -534,15 +534,15 @@ LadspaPlugin::connect_and_run (vector<Sample*>& bufs, uint32_t nbufs, int32_t& i if (LADSPA_IS_PORT_AUDIO (port_descriptor(port_index))) { if (LADSPA_IS_PORT_INPUT (port_descriptor(port_index))) { connect_port (port_index, bufs[min((uint32_t) in_index,nbufs - 1)] + offset); - //cerr << this << ' ' << name() << " @ " << offset << " inport " << in_index << " = buf " - // << min((uint32_t)in_index,nbufs) << " = " << &bufs[min((uint32_t)in_index,nbufs)][offset] << endl; + // cerr << this << ' ' << name() << " @ " << offset << " inport " << in_index << " = buf " + // << min((uint32_t)in_index,nbufs) << " = " << &bufs[min((uint32_t)in_index,nbufs)][offset] << endl; in_index++; } else if (LADSPA_IS_PORT_OUTPUT (port_descriptor (port_index))) { connect_port (port_index, bufs[min((uint32_t) out_index,nbufs - 1)] + offset); // cerr << this << ' ' << name() << " @ " << offset << " outport " << out_index << " = buf " - // << min((uint32_t)out_index,nbufs) << " = " << &bufs[min((uint32_t)out_index,nbufs)][offset] << endl; + // << min((uint32_t)out_index,nbufs) << " = " << &bufs[min((uint32_t)out_index,nbufs)][offset] << endl; out_index++; } } |