Prevent removal of route inputs when the plugins cannot be configured with the new number. Rework locking so that the process lock is held from the point that a route input is removed until after the processors are reconfigured; fixes #3548.

git-svn-id: svn://localhost/ardour2/branches/3.0@8089 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington
2010-11-25 23:46:24 +00:00
parent 28c004f4fb
commit 54cbc45a5a
13 changed files with 335 additions and 158 deletions

View File

@@ -110,11 +110,11 @@ private:
SignalType _signal;
};
template<typename R, typename A>
template<typename R, typename A, typename C = boost::signals2::optional_last_value<R> >
class Signal1 {
public:
Signal1 () {}
typedef boost::signals2::signal<R(A)> SignalType;
typedef boost::signals2::signal<R(A), C> SignalType;
void connect_same_thread (ScopedConnectionList& clist,
const typename SignalType::slot_function_type& slot) {