summaryrefslogtreecommitdiff
path: root/libs/surfaces/control_protocol/control_protocol
diff options
context:
space:
mode:
authorJohannes Mueller <github@johannes-mueller.org>2019-05-18 13:23:26 +0200
committerJohannes Mueller <github@johannes-mueller.org>2019-05-18 13:27:49 +0200
commit89f39d14f24648bb3737d83619e199e965825db1 (patch)
treebb2f20df3048d8b9af176650d47c0783db6e1680 /libs/surfaces/control_protocol/control_protocol
parent1173ca8d3415b194f1f1bb61c4ebfe128d1ba77a (diff)
Add some options for surfaces to jump in the timeline
* ::jump_by_beats() * request transport to keep rolling after jump
Diffstat (limited to 'libs/surfaces/control_protocol/control_protocol')
-rw-r--r--libs/surfaces/control_protocol/control_protocol/basic_ui.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/surfaces/control_protocol/control_protocol/basic_ui.h b/libs/surfaces/control_protocol/control_protocol/basic_ui.h
index 788dcbd43b..60ed6d86ee 100644
--- a/libs/surfaces/control_protocol/control_protocol/basic_ui.h
+++ b/libs/surfaces/control_protocol/control_protocol/basic_ui.h
@@ -68,8 +68,9 @@ class LIBCONTROLCP_API BasicUI {
void set_transport_speed (double speed);
double get_transport_speed ();
- void jump_by_seconds( double sec );
- void jump_by_bars(double bars);
+ void jump_by_seconds (double sec, bool with_roll = false);
+ void jump_by_bars (double bars, bool with_roll = false);
+ void jump_by_beats (double beats, bool with_roll = false);
ARDOUR::samplepos_t transport_sample ();
void locate (ARDOUR::samplepos_t sample, bool play = false);