Replace BasicUI transport_rolling with transport_stopped_or_stopping

For consistency with the underlying Session API, and to avoid an unfortunate
soft-overload with Session::transport_rolling() that does something different.
This commit is contained in:
David Robillard 2021-06-15 23:13:34 -04:00
parent 3e101dd895
commit def143bc64
11 changed files with 21 additions and 21 deletions

View file

@ -336,7 +336,7 @@ BasicUI::transport_play (bool from_last_start)
return;
}
bool rolling = transport_rolling();
bool rolling = !transport_stopped_or_stopping();
if (_session->get_play_loop()) {
@ -440,10 +440,10 @@ BasicUI::get_transport_speed () const
return _session->actual_speed ();
}
double
BasicUI::transport_rolling () const
bool
BasicUI::transport_stopped_or_stopping () const
{
return !_session->transport_stopped_or_stopping ();
return _session->transport_stopped_or_stopping ();
}
bool
@ -652,7 +652,7 @@ BasicUI::toggle_roll (bool roll_out_of_bounded_mode)
}
}
bool rolling = transport_rolling();
bool rolling = !transport_stopped_or_stopping();
if (rolling) {