Oops. Fix previous.
git-svn-id: svn://localhost/ardour2/branches/3.0@8931 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7ad096c86f
commit
7b8a76de25
@ -3170,7 +3170,12 @@ Route::MuteControllable::set_value (double val)
|
||||
double
|
||||
Route::MuteControllable::get_value () const
|
||||
{
|
||||
return route.muted() ? 1.0f : 0.0f;
|
||||
boost::shared_ptr<Route> r = _route.lock ();
|
||||
if (!r) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return r->muted() ? 1.0f : 0.0f;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user