mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Fix 2884 and also potential crash if there are no control outs.
git-svn-id: svn://localhost/ardour2/branches/3.0@5935 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0cc0c13444
commit
9ad08bfe97
1 changed files with 2 additions and 2 deletions
|
|
@ -2432,13 +2432,13 @@ Session::route_solo_changed (void* /*src*/, boost::weak_ptr<Route> wpr)
|
||||||
|
|
||||||
/* make sure master is never muted by solo */
|
/* make sure master is never muted by solo */
|
||||||
|
|
||||||
if (route != _master_out && _master_out->solo_level() == 0 && !_master_out->soloed()) {
|
if (_master_out && route != _master_out && _master_out->solo_level() == 0 && !_master_out->soloed()) {
|
||||||
_master_out->mod_solo_level (1);
|
_master_out->mod_solo_level (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ditto for control outs make sure master is never muted by solo */
|
/* ditto for control outs make sure master is never muted by solo */
|
||||||
|
|
||||||
if (route != _control_out && _control_out && _control_out->solo_level() == 0) {
|
if (_control_out && route != _control_out && _control_out && _control_out->solo_level() == 0) {
|
||||||
_control_out->mod_solo_level (1);
|
_control_out->mod_solo_level (1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue