diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index f8c61353b7..dba16131f9 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -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 r = _route.lock (); + if (!r) { + return 0; + } + + return r->muted() ? 1.0f : 0.0f; } void