fix websockets toggle_roll
Also fix BasicUI::toggle_roll who is supposed to do the same as spacebar but doesn't.
This commit is contained in:
parent
d5df5847e1
commit
a77ac7107f
@ -623,7 +623,7 @@ BasicUI::toggle_click ()
|
||||
}
|
||||
|
||||
void
|
||||
BasicUI::toggle_roll (bool roll_out_of_bounded_mode)
|
||||
BasicUI::toggle_roll (bool with_abort, bool roll_out_of_bounded_mode)
|
||||
{
|
||||
/* TO BE KEPT IN SYNC WITH ARDOUR_UI::toggle_roll() */
|
||||
|
||||
@ -672,7 +672,7 @@ BasicUI::toggle_roll (bool roll_out_of_bounded_mode)
|
||||
}
|
||||
|
||||
} else {
|
||||
session->request_stop (true, true);
|
||||
session->request_stop (with_abort, true);
|
||||
}
|
||||
|
||||
} else { /* not rolling */
|
||||
|
@ -108,7 +108,7 @@ class LIBCONTROLCP_API BasicUI {
|
||||
void quick_snapshot_stay ();
|
||||
void quick_snapshot_switch ();
|
||||
|
||||
void toggle_roll(bool roll_out_of_bounded_mode=true); //this provides the same operation as the "spacebar", it's a lot smarter than "play".
|
||||
void toggle_roll(bool with_abort, bool roll_out_of_bounded_mode); //this provides the same operation as the "spacebar", it's a lot smarter than "play".
|
||||
|
||||
void stop_forget();
|
||||
|
||||
|
@ -75,7 +75,7 @@ ArdourTransport::set_roll (bool value)
|
||||
{
|
||||
if ((value && !roll ()) || (!value && roll ())) {
|
||||
// this call is equivalent to hitting the spacebar
|
||||
basic_ui ().toggle_roll (false);
|
||||
basic_ui ().toggle_roll (false, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user