solo safe control starts with its route's time domain
This commit is contained in:
parent
7f31c11073
commit
a7b011c06b
@ -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;
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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<AutomationList>(new AutomationList(Evoral::Parameter(SoloSafeAutomation), Temporal::AudioTime)),
|
||||
boost::shared_ptr<AutomationList>(new AutomationList(Evoral::Parameter(SoloSafeAutomation), td)),
|
||||
name)
|
||||
, _solo_safe (false)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user