set channel route phase control
[ardour.git] / libs / ardour / route_controls.cc
index 08e083e3fe11dad9a610799c80c692e798a886a7..7cd4f61124f22ab3cd6a54f69922729fb03349d9 100644 (file)
@@ -233,6 +233,7 @@ Route::MuteControllable::get_value () const
 
 Route::PhaseControllable::PhaseControllable (std::string name, boost::shared_ptr<Route> r)
        : RouteAutomationControl (name, PhaseAutomation, boost::shared_ptr<AutomationList>(), r)
+       , _current_phase (0)
 {
        boost::shared_ptr<AutomationList> gl(new AutomationList(Evoral::Parameter(PhaseAutomation)));
        gl->set_interpolation(Evoral::ControlList::Discrete);