From 1f6800d421fc41e6797e0bc3b6e78a6e07e97120 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 7 Mar 2016 14:59:40 -0500 Subject: redesign Route and VCA objects to inherit from ARDOUR::Stripable --- libs/ardour/session_rtevents.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/session_rtevents.cc') diff --git a/libs/ardour/session_rtevents.cc b/libs/ardour/session_rtevents.cc index 132f706c66..5850643739 100644 --- a/libs/ardour/session_rtevents.cc +++ b/libs/ardour/session_rtevents.cc @@ -150,7 +150,7 @@ Session::set_mute (boost::shared_ptr rl, bool yn, SessionEvent::RTeve { /* Set superficial value of mute controls for automation. */ for (RouteList::iterator i = rl->begin(); i != rl->end(); ++i) { - boost::shared_ptr mc = (*i)->mute_control(); + boost::shared_ptr mc = boost::dynamic_pointer_cast ((*i)->mute_control()); mc->set_superficial_value(yn); } -- cgit v1.2.3