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
This commit is contained in:
Tobias Doerffel
2008-03-15 23:03:40 +00:00
parent 13a65b88f2
commit 2599c9d2f3

View File

@@ -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 );
}
}
}
}