projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ad096c
)
Oops. Fix previous.
author
Carl Hetherington
<carl@carlh.net>
Tue, 22 Feb 2011 21:17:39 +0000
(21:17 +0000)
committer
Carl Hetherington
<carl@carlh.net>
Tue, 22 Feb 2011 21:17:39 +0000
(21:17 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8931
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/route.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/route.cc
b/libs/ardour/route.cc
index f8c61353b74dfe6507cff92957ab54d4d8e203a0..dba16131f98d17d853f63a4b3703aace3b0f0ced 100644
(file)
--- 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<Route> r = _route.lock ();
+ if (!r) {
+ return 0;
+ }
+
+ return r->muted() ? 1.0f : 0.0f;
}
void