mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
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
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue