summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_controller.cc
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/automation_controller.cc
parentf04bacdfac885e927809ee0d3a323defda42033b (diff)
Remove unused "mark" parameter from stop_touch() API
Diffstat (limited to 'gtk2_ardour/automation_controller.cc')
-rw-r--r--gtk2_ardour/automation_controller.cc15
1 files changed, 1 insertions, 14 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