summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-07-24 01:22:50 +0200
committerRobin Gareus <robin@gareus.org>2017-07-24 01:59:18 +0200
commitfde0e293a30ed4e689208b456a4431b7bb278eb4 (patch)
tree93686a5c6e7df13ea7acd577c8de402ee4a6947f /gtk2_ardour
parentf04bacdfac885e927809ee0d3a323defda42033b (diff)
Remove unused "mark" parameter from stop_touch() API
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/automation_controller.cc15
-rw-r--r--gtk2_ardour/gain_meter.cc2
-rw-r--r--gtk2_ardour/lv2_plugin_ui.cc2
-rw-r--r--gtk2_ardour/panner_ui.cc2
-rw-r--r--gtk2_ardour/processor_box.cc2
-rw-r--r--gtk2_ardour/route_ui.cc2
6 files changed, 6 insertions, 19 deletions
diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc
index c151b72d14..d53c61432e 100644
--- a/gtk2_ardour/automation_controller.cc
+++ b/gtk2_ardour/automation_controller.cc
@@ -200,20 +200,7 @@ AutomationController::start_touch()
void
AutomationController::end_touch ()
{
- if (_controllable->automation_state() == Touch) {
-
- bool mark = false;
- double when = 0;
-
- if (_controllable->session().transport_rolling()) {
- mark = true;
- when = _controllable->session().transport_frame();
- }
-
- _controllable->stop_touch (mark, when);
- } else {
- _controllable->stop_touch (false, _controllable->session().transport_frame());
- }
+ _controllable->stop_touch (_controllable->session().transport_frame());
}
bool
diff --git a/gtk2_ardour/gain_meter.cc b/gtk2_ardour/gain_meter.cc
index ab90de8862..0b063ff886 100644
--- a/gtk2_ardour/gain_meter.cc
+++ b/gtk2_ardour/gain_meter.cc
@@ -737,7 +737,7 @@ GainMeterBase::amp_start_touch ()
void
GainMeterBase::amp_stop_touch ()
{
- _control->stop_touch (false, _control->session().transport_frame());
+ _control->stop_touch (_control->session().transport_frame());
effective_gain_display ();
}
diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc
index 7f735dfcc5..d7f6708d00 100644
--- a/gtk2_ardour/lv2_plugin_ui.cc
+++ b/gtk2_ardour/lv2_plugin_ui.cc
@@ -105,7 +105,7 @@ LV2PluginUI::touch(void* controller,
if (grabbed) {
control->start_touch(control->session().transport_frame());
} else {
- control->stop_touch(false, control->session().transport_frame());
+ control->stop_touch(control->session().transport_frame());
}
}
diff --git a/gtk2_ardour/panner_ui.cc b/gtk2_ardour/panner_ui.cc
index 0fd588dfdf..a394932306 100644
--- a/gtk2_ardour/panner_ui.cc
+++ b/gtk2_ardour/panner_ui.cc
@@ -352,7 +352,7 @@ PannerUI::stop_touch (boost::weak_ptr<AutomationControl> wac)
if (!ac) {
return;
}
- ac->stop_touch (false, ac->session().transport_frame());
+ ac->stop_touch (ac->session().transport_frame());
}
bool
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc
index 8b353c040e..3e39e639f2 100644
--- a/gtk2_ardour/processor_box.cc
+++ b/gtk2_ardour/processor_box.cc
@@ -921,7 +921,7 @@ ProcessorEntry::Control::end_touch ()
if (!c) {
return;
}
- c->stop_touch (true, c->session().transport_frame());
+ c->stop_touch (c->session().transport_frame());
}
void
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index a935ec3c5d..d2707f5476 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -531,7 +531,7 @@ RouteUI::mute_release (GdkEventButton* /*ev*/)
_mute_release = 0;
}
- _route->mute_control()->stop_touch (false, _session->audible_frame ());
+ _route->mute_control()->stop_touch (_session->audible_frame ());
return false;
}