Add a helper to check whether the transport plays
This commit is contained in:
parent
7ded48b7d4
commit
574691d3cd
1 changed files with 4 additions and 0 deletions
|
|
@ -110,6 +110,10 @@ public:
|
||||||
* @brief Set whether the clock is ticking or stopped.
|
* @brief Set whether the clock is ticking or stopped.
|
||||||
*/
|
*/
|
||||||
void setPlaying(unsigned delay, bool playing);
|
void setPlaying(unsigned delay, bool playing);
|
||||||
|
/**
|
||||||
|
* Check whether the clock is currently ticking.
|
||||||
|
*/
|
||||||
|
bool isPlaying() const noexcept { return isPlaying_; }
|
||||||
/**
|
/**
|
||||||
* @brief Get the beat number for each frame of the current cycle.
|
* @brief Get the beat number for each frame of the current cycle.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue