extend Session API to provide ::transport_locating()

This commit is contained in:
Paul Davis 2022-03-17 12:17:01 -06:00
parent 9f29986a16
commit 1cc8a3f92c
2 changed files with 9 additions and 2 deletions

View File

@ -826,8 +826,9 @@ public:
* playback speed is not zero, and count-in as well as latency-preroll is complete,
* and _transport_sample changes every process cycle.
*/
bool transport_rolling() const;
bool transport_will_roll_forwards() const;
bool transport_rolling() const;
bool transport_will_roll_forwards() const;
bool transport_locating() const;
bool silent () { return _silent; }

View File

@ -2045,6 +2045,12 @@ Session::transport_state_rolling() const
return _transport_fsm->rolling();
}
bool
Session::transport_locating() const
{
return _transport_fsm->locating();
}
bool
Session::transport_rolling() const
{