DISTRHO Plugin Framework
|
#include <DistrhoPlugin.hpp>
Classes | |
struct | BarBeatTick |
Public Member Functions | |
TimePosition () noexcept | |
void | clear () noexcept |
Public Attributes | |
bool | playing |
uint64_t | frame |
struct TimePosition::BarBeatTick | bbt |
Time position.
The playing and frame values are always valid.
BBT values are only valid when bbt.valid is true.
This struct is inspired by the JACK Transport API.
|
inlinenoexcept |
Default constructor for a time position.
|
inlinenoexcept |
Reinitialize this position using the default null initialization.
bool TimePosition::playing |
Wherever the host transport is playing/rolling.
uint64_t TimePosition::frame |
Current host transport position in frames.