NO-OP, use default argument
This commit is contained in:
parent
fadf77e39c
commit
b0b7750bc7
@ -373,7 +373,7 @@ MidiTrack::update_controls (BufferSet const& bufs)
|
||||
const Evoral::Parameter param = midi_parameter(ev.buffer(), ev.size());
|
||||
const boost::shared_ptr<AutomationControl> control = automation_control (param);
|
||||
if (control) {
|
||||
double old = control->get_double (false, timepos_t::zero (true));
|
||||
double old = control->get_double ();
|
||||
control->set_double (ev.value(), timepos_t::zero (false), false);
|
||||
if (old != ev.value()) {
|
||||
control->Changed (false, Controllable::NoGroup);
|
||||
|
@ -86,7 +86,7 @@ SlavableAutomationControl::get_value_locked() const
|
||||
/* read or write masters lock must be held */
|
||||
|
||||
if (_masters.empty()) {
|
||||
return Control::get_double (false, timepos_t (_session.transport_sample()));
|
||||
return Control::get_double ();
|
||||
}
|
||||
|
||||
if (_desc.toggled) {
|
||||
@ -94,7 +94,7 @@ SlavableAutomationControl::get_value_locked() const
|
||||
* enabled, this slave is enabled. So check our own value
|
||||
* first, because if we are enabled, we can return immediately.
|
||||
*/
|
||||
if (Control::get_double (false, timepos_t (_session.transport_sample()))) {
|
||||
if (Control::get_double ()) {
|
||||
return _desc.upper;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user