diff --git a/plugins/ladspa_effect/ladspa_effect.cpp b/plugins/ladspa_effect/ladspa_effect.cpp index 087ea2d49..6303abed7 100644 --- a/plugins/ladspa_effect/ladspa_effect.cpp +++ b/plugins/ladspa_effect/ladspa_effect.cpp @@ -2,6 +2,7 @@ * ladspa_effect.cpp - class for processing LADSPA effects * * Copyright (c) 2006-2008 Danny McRae + * Copyright (c) 2009 Tobias Doerffel * * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net * @@ -36,6 +37,7 @@ #include "effect_chain.h" #include "basic_ops.h" #include "automation_pattern.h" +#include "controller_connection.h" #undef SINGLE_SOURCE_COMPILE @@ -124,6 +126,9 @@ void ladspaEffect::changeSampleRate( void ) // the IDs of re-created controls have been saved and now need to be // resolved again automationPattern::resolveAllIDs(); + + // make sure, connections are ok + controllerConnection::finalizeConnections(); }