summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-08-03 11:52:45 +0000
committerCarl Hetherington <carl@carlh.net>2011-08-03 11:52:45 +0000
commitc18009e11f6070d5156071a4d08efb696b2604e8 (patch)
treef7692fa346eaab62b3515a505ad5bf91ab759fd8 /libs
parent9e6eb3e0c732cc399ed3b925ef6c584edc853dc7 (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.cc5
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) {