From 823bad30497b67508ed4031232049ba2f9920941 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 4 May 2010 13:29:38 +0000 Subject: when soloed by upstream (e.g. a track in a group solos-by-upstream the group bus), push the inverse solo change back down to everything that feeds us. this makes solo within a group work git-svn-id: svn://localhost/ardour2/branches/3.0@7050 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/route.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libs/ardour/route.cc') diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 243d240b75..287e3c219b 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -617,6 +617,16 @@ Route::mod_solo_by_others_upstream (int32_t delta) _soloed_by_others_upstream += delta; } + /* push the inverse solo change to everything that feeds us. + */ + + for (FedBy::iterator i = _fed_by.begin(); i != _fed_by.end(); ++i) { + boost::shared_ptr sr = i->r.lock(); + if (sr) { + sr->mod_solo_by_others_downstream (-delta); + } + } + set_mute_master_solo (); solo_changed (false, this); } -- cgit v1.2.3