change Session::goto_start() to take an argument to optionally roll after locate
This commit is contained in:
parent
f699773490
commit
38fbf3c302
@ -425,7 +425,7 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop
|
||||
|
||||
framepos_t last_transport_start () const { return _last_roll_location; }
|
||||
void goto_end ();
|
||||
void goto_start ();
|
||||
void goto_start (bool and_roll = false);
|
||||
void use_rf_shuttle_speed ();
|
||||
void allow_auto_play (bool yn);
|
||||
void request_transport_speed (double speed, bool as_default = true);
|
||||
|
@ -6294,12 +6294,12 @@ Session::goto_end ()
|
||||
}
|
||||
|
||||
void
|
||||
Session::goto_start ()
|
||||
Session::goto_start (bool and_roll)
|
||||
{
|
||||
if (_session_range_location) {
|
||||
request_locate (_session_range_location->start(), false);
|
||||
request_locate (_session_range_location->start(), and_roll);
|
||||
} else {
|
||||
request_locate (0, false);
|
||||
request_locate (0, and_roll);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user