Add a helper to check whether the transport plays

This commit is contained in:
Jean Pierre Cimalando 2020-11-15 14:46:11 +01:00
parent 7ded48b7d4
commit 574691d3cd

View file

@ -110,6 +110,10 @@ public:
* @brief Set whether the clock is ticking or stopped.
*/
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.
*