13
0

Oops. Fix previous.

git-svn-id: svn://localhost/ardour2/branches/3.0@8931 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-02-22 21:17:39 +00:00
parent 7ad096c86f
commit 7b8a76de25

View File

@ -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