diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-24 01:22:50 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-24 01:59:18 +0200 |
commit | fde0e293a30ed4e689208b456a4431b7bb278eb4 (patch) | |
tree | 93686a5c6e7df13ea7acd577c8de402ee4a6947f /libs/surfaces | |
parent | f04bacdfac885e927809ee0d3a323defda42033b (diff) |
Remove unused "mark" parameter from stop_touch() API
Diffstat (limited to 'libs/surfaces')
-rw-r--r-- | libs/surfaces/cc121/cc121.cc | 2 | ||||
-rw-r--r-- | libs/surfaces/faderport/faderport.cc | 2 | ||||
-rw-r--r-- | libs/surfaces/faderport8/fp8_strip.cc | 2 | ||||
-rw-r--r-- | libs/surfaces/mackie/controls.cc | 4 | ||||
-rw-r--r-- | libs/surfaces/mackie/controls.h | 2 | ||||
-rw-r--r-- | libs/surfaces/mackie/mcp_buttons.cc | 2 | ||||
-rw-r--r-- | libs/surfaces/mackie/strip.cc | 4 | ||||
-rw-r--r-- | libs/surfaces/osc/osc.cc | 4 | ||||
-rw-r--r-- | libs/surfaces/push2/mix.cc | 2 | ||||
-rw-r--r-- | libs/surfaces/push2/push2.cc | 2 | ||||
-rw-r--r-- | libs/surfaces/push2/track_mix.cc | 2 |
11 files changed, 14 insertions, 14 deletions
diff --git a/libs/surfaces/cc121/cc121.cc b/libs/surfaces/cc121/cc121.cc index 19301b86b8..b00fbbb541 100644 --- a/libs/surfaces/cc121/cc121.cc +++ b/libs/surfaces/cc121/cc121.cc @@ -364,7 +364,7 @@ CC121::button_release_handler (MIDI::Parser &, MIDI::EventTwoBytes* tb) boost::shared_ptr<AutomationControl> gain = _current_stripable->gain_control (); if (gain) { framepos_t now = session->engine().sample_time(); - gain->stop_touch (true, now); + gain->stop_touch (now); } } break; diff --git a/libs/surfaces/faderport/faderport.cc b/libs/surfaces/faderport/faderport.cc index 8e106c7948..4e65fec3cc 100644 --- a/libs/surfaces/faderport/faderport.cc +++ b/libs/surfaces/faderport/faderport.cc @@ -379,7 +379,7 @@ FaderPort::button_handler (MIDI::Parser &, MIDI::EventTwoBytes* tb) if (tb->value) { gain->start_touch (now); } else { - gain->stop_touch (true, now); + gain->stop_touch (now); } } } diff --git a/libs/surfaces/faderport8/fp8_strip.cc b/libs/surfaces/faderport8/fp8_strip.cc index f1d6176829..b811e7c88f 100644 --- a/libs/surfaces/faderport8/fp8_strip.cc +++ b/libs/surfaces/faderport8/fp8_strip.cc @@ -301,7 +301,7 @@ FP8Strip::midi_touch (bool t) ac->start_touch (ac->session().transport_frame()); } } else { - ac->stop_touch (true, ac->session().transport_frame()); + ac->stop_touch (ac->session().transport_frame()); } return true; } diff --git a/libs/surfaces/mackie/controls.cc b/libs/surfaces/mackie/controls.cc index aa7112a7ec..7a74fc451e 100644 --- a/libs/surfaces/mackie/controls.cc +++ b/libs/surfaces/mackie/controls.cc @@ -104,10 +104,10 @@ Control::start_touch (double when) } void -Control::stop_touch (bool mark, double when) +Control::stop_touch (double when) { if (normal_ac) { - return normal_ac->stop_touch (mark, when); + return normal_ac->stop_touch (when); } } diff --git a/libs/surfaces/mackie/controls.h b/libs/surfaces/mackie/controls.h index c53be76891..e5d723a7d1 100644 --- a/libs/surfaces/mackie/controls.h +++ b/libs/surfaces/mackie/controls.h @@ -74,7 +74,7 @@ public: void set_value (float val, PBD::Controllable::GroupControlDisposition gcd = PBD::Controllable::UseGroup); virtual void start_touch (double when); - virtual void stop_touch (bool mark, double when); + virtual void stop_touch (double when); protected: boost::shared_ptr<ARDOUR::AutomationControl> normal_ac; diff --git a/libs/surfaces/mackie/mcp_buttons.cc b/libs/surfaces/mackie/mcp_buttons.cc index 3bdf51c4b9..a8998f960d 100644 --- a/libs/surfaces/mackie/mcp_buttons.cc +++ b/libs/surfaces/mackie/mcp_buttons.cc @@ -852,7 +852,7 @@ MackieControlProtocol::master_fader_touch_release (Mackie::Button &) Fader* master_fader = _master_surface->master_fader(); master_fader->set_in_use (false); - master_fader->stop_touch (transport_frame(), true); + master_fader->stop_touch (transport_frame()); return none; } diff --git a/libs/surfaces/mackie/strip.cc b/libs/surfaces/mackie/strip.cc index 87e078d639..de9aa89c8a 100644 --- a/libs/surfaces/mackie/strip.cc +++ b/libs/surfaces/mackie/strip.cc @@ -799,7 +799,7 @@ Strip::fader_touch_event (Button&, ButtonState bs) } else { _fader->set_in_use (false); - _fader->stop_touch (_surface->mcp().transport_frame(), true); + _fader->stop_touch (_surface->mcp().transport_frame()); } } @@ -949,7 +949,7 @@ Strip::handle_fader_touch (Fader& fader, bool touch_on) if (touch_on) { fader.start_touch (_surface->mcp().transport_frame()); } else { - fader.stop_touch (_surface->mcp().transport_frame(), false); + fader.stop_touch (_surface->mcp().transport_frame()); } } diff --git a/libs/surfaces/osc/osc.cc b/libs/surfaces/osc/osc.cc index 84c8b47e74..dfe87bbcca 100644 --- a/libs/surfaces/osc/osc.cc +++ b/libs/surfaces/osc/osc.cc @@ -2838,7 +2838,7 @@ OSC::touch_detect (const char *path, const char* types, lo_arg **argv, int argc, ret = 0; } else { // end touch - control->stop_touch (true, control->session().transport_frame()); + control->stop_touch (control->session().transport_frame()); ret = 0; } // just in case some crazy surface starts sending control values before touch @@ -4844,7 +4844,7 @@ OSC::periodic (void) if (!(*x).second) { boost::shared_ptr<ARDOUR::AutomationControl> ctrl = (*x).first; // turn touch off - ctrl->stop_touch (true, ctrl->session().transport_frame()); + ctrl->stop_touch (ctrl->session().transport_frame()); _touch_timeout.erase (x++); } else { x++; diff --git a/libs/surfaces/push2/mix.cc b/libs/surfaces/push2/mix.cc index fb2bfd222f..f012e91673 100644 --- a/libs/surfaces/push2/mix.cc +++ b/libs/surfaces/push2/mix.cc @@ -437,7 +437,7 @@ MixLayout::strip_vpot_touch (int n, bool touching) if (touching) { ac->start_touch (session.audible_frame()); } else { - ac->stop_touch (true, session.audible_frame()); + ac->stop_touch (session.audible_frame()); } } } diff --git a/libs/surfaces/push2/push2.cc b/libs/surfaces/push2/push2.cc index 7b9a348841..f29ff41d06 100644 --- a/libs/surfaces/push2/push2.cc +++ b/libs/surfaces/push2/push2.cc @@ -1082,7 +1082,7 @@ Push2::other_vpot_touch (int n, bool touching) if (touching) { ac->start_touch (session->audible_frame()); } else { - ac->stop_touch (true, session->audible_frame()); + ac->stop_touch (session->audible_frame()); } } } diff --git a/libs/surfaces/push2/track_mix.cc b/libs/surfaces/push2/track_mix.cc index ed4c9c3aa3..a12ca84cf0 100644 --- a/libs/surfaces/push2/track_mix.cc +++ b/libs/surfaces/push2/track_mix.cc @@ -572,7 +572,7 @@ TrackMixLayout::strip_vpot_touch (int n, bool touching) if (touching) { ac->start_touch (session.audible_frame()); } else { - ac->stop_touch (true, session.audible_frame()); + ac->stop_touch (session.audible_frame()); } } } |