mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-30 18:37:40 +01:00
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:
parent
3e101dd895
commit
def143bc64
11 changed files with 21 additions and 21 deletions
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue