diff --git a/libs/ardour/ardour/solo_safe_control.h b/libs/ardour/ardour/solo_safe_control.h index 1c950a31ac..65eac83fde 100644 --- a/libs/ardour/ardour/solo_safe_control.h +++ b/libs/ardour/ardour/solo_safe_control.h @@ -34,7 +34,7 @@ class Session; class LIBARDOUR_API SoloSafeControl : public SlavableAutomationControl { public: - SoloSafeControl (Session& session, std::string const & name); + SoloSafeControl (Session& session, std::string const & name, Temporal::TimeDomain); double get_value () const; diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index f1d26c354c..f7a9ecc02c 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -178,7 +178,7 @@ Route::init () _solo_isolate_control.reset (new SoloIsolateControl (_session, X_("solo-iso"), *this)); add_control (_solo_isolate_control); - _solo_safe_control.reset (new SoloSafeControl (_session, X_("solo-safe"))); + _solo_safe_control.reset (new SoloSafeControl (_session, X_("solo-safe"), time_domain())); add_control (_solo_safe_control); /* panning */ diff --git a/libs/ardour/solo_safe_control.cc b/libs/ardour/solo_safe_control.cc index 4bd07488f8..d753503351 100644 --- a/libs/ardour/solo_safe_control.cc +++ b/libs/ardour/solo_safe_control.cc @@ -28,10 +28,9 @@ using namespace ARDOUR; using namespace std; using namespace PBD; -#warning NUTEMPO QUESTION what time domain shoudl this really use? -SoloSafeControl::SoloSafeControl (Session& session, std::string const & name) +SoloSafeControl::SoloSafeControl (Session& session, std::string const & name, Temporal::TimeDomain td) : SlavableAutomationControl (session, SoloSafeAutomation, ParameterDescriptor (SoloSafeAutomation), - boost::shared_ptr(new AutomationList(Evoral::Parameter(SoloSafeAutomation), Temporal::AudioTime)), + boost::shared_ptr(new AutomationList(Evoral::Parameter(SoloSafeAutomation), td)), name) , _solo_safe (false) {