diff options
author | Carl Hetherington <carl@carlh.net> | 2011-08-03 11:52:45 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-08-03 11:52:45 +0000 |
commit | c18009e11f6070d5156071a4d08efb696b2604e8 (patch) | |
tree | f7692fa346eaab62b3515a505ad5bf91ab759fd8 /libs | |
parent | 9e6eb3e0c732cc399ed3b925ef6c584edc853dc7 (diff) |
Use route group solo property for route listen as well
as solo (#4228).
git-svn-id: svn://localhost/ardour2/branches/3.0@9949 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/route.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 6ae86aa016..136692e711 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -570,6 +570,11 @@ Route::set_listen (bool yn, void* src) return; } + if (_route_group && src != _route_group && _route_group->is_active() && _route_group->is_solo()) { + _route_group->foreach_route (boost::bind (&Route::set_listen, _1, yn, _route_group)); + return; + } + if (_monitor_send) { if (yn != _monitor_send->active()) { if (yn) { |