Session::request_locate() takes a tri-valued second argument for "roll-after-locate"
This allows callers to defer logic about auto-play/current rolling state and more to TransportFSM where it can be cnentralized and is less ambiguous
This commit is contained in:
@@ -70,12 +70,13 @@ class LIBCONTROLCP_API BasicUI {
|
||||
void set_transport_speed (double speed);
|
||||
double get_transport_speed ();
|
||||
|
||||
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);
|
||||
void jump_by_seconds (double sec, ARDOUR::LocateTransportDisposition ltd = ARDOUR::DoTheRightThing);
|
||||
void jump_by_bars (double bars, ARDOUR::LocateTransportDisposition ltd = ARDOUR::DoTheRightThing);
|
||||
void jump_by_beats (double beats, ARDOUR::LocateTransportDisposition ltd = ARDOUR::DoTheRightThing);
|
||||
|
||||
ARDOUR::samplepos_t transport_sample ();
|
||||
void locate (ARDOUR::samplepos_t sample, bool play = false);
|
||||
void locate (ARDOUR::samplepos_t sample, ARDOUR::LocateTransportDisposition ltd);
|
||||
void locate (ARDOUR::samplepos_t sample, bool);
|
||||
bool locating ();
|
||||
bool locked ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user