solo isolate control starts with its route's time domain
This commit is contained in:
parent
a7b011c06b
commit
cd59f876f7
@ -37,7 +37,7 @@ class Muteable;
|
||||
class LIBARDOUR_API SoloIsolateControl : public SlavableAutomationControl
|
||||
{
|
||||
public:
|
||||
SoloIsolateControl (Session& session, std::string const & name, Soloable& soloable);
|
||||
SoloIsolateControl (Session& session, std::string const & name, Soloable& soloable, Temporal::TimeDomain);
|
||||
|
||||
double get_value () const;
|
||||
|
||||
|
@ -175,7 +175,7 @@ Route::init ()
|
||||
_phase_control.reset (new PhaseControl (_session, X_("phase")));
|
||||
add_control (_phase_control);
|
||||
|
||||
_solo_isolate_control.reset (new SoloIsolateControl (_session, X_("solo-iso"), *this));
|
||||
_solo_isolate_control.reset (new SoloIsolateControl (_session, X_("solo-iso"), *this, time_domain()));
|
||||
add_control (_solo_isolate_control);
|
||||
|
||||
_solo_safe_control.reset (new SoloSafeControl (_session, X_("solo-safe"), time_domain()));
|
||||
|
@ -28,9 +28,9 @@ using namespace ARDOUR;
|
||||
using namespace std;
|
||||
using namespace PBD;
|
||||
|
||||
SoloIsolateControl::SoloIsolateControl (Session& session, std::string const & name, Soloable& s, Muteable& m)
|
||||
SoloIsolateControl::SoloIsolateControl (Session& session, std::string const & name, Soloable& s, Temporal::TimeDomain td)
|
||||
: SlavableAutomationControl (session, SoloIsolateAutomation, ParameterDescriptor (SoloIsolateAutomation),
|
||||
boost::shared_ptr<AutomationList>(new AutomationList(Evoral::Parameter(SoloIsolateAutomation), Temporal::AudioTime)),
|
||||
boost::shared_ptr<AutomationList>(new AutomationList(Evoral::Parameter(SoloIsolateAutomation), td)),
|
||||
name)
|
||||
, _soloable (s)
|
||||
, _solo_isolated (false)
|
||||
|
Loading…
Reference in New Issue
Block a user