From 2599c9d2f36dce9b0453b50fa456b3e318b3e255 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Sat, 15 Mar 2008 23:03:40 +0000 Subject: [PATCH] fixed LADSPA-controls which internally were not linked per default although they should be git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@791 0778d3d1-df1d-0410-868b-ea421aaaa00d --- plugins/ladspa_effect/ladspa_controls.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/plugins/ladspa_effect/ladspa_controls.cpp b/plugins/ladspa_effect/ladspa_controls.cpp index 746b8d9e6..6fcc9ec1c 100644 --- a/plugins/ladspa_effect/ladspa_controls.cpp +++ b/plugins/ladspa_effect/ladspa_controls.cpp @@ -71,6 +71,19 @@ ladspaControls::ladspaControls( ladspaEffect * _eff, m_controls.append( p ); } + + // now link all controls + if( m_processors > 1 ) + { + for( multi_proc_t::iterator it = controls.begin(); + it != controls.end(); it++ ) + { + if( (*it)->proc == 0 ) + { + linkPort( ( *it )->control_id, TRUE ); + } + } + } }