#include <DistrhoDetails.hpp>
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.
◆ TimePosition()
TimePosition::TimePosition |
( |
| ) |
|
|
inlinenoexcept |
Default constructor for a time position.
◆ clear()
void TimePosition::clear |
( |
| ) |
|
|
inlinenoexcept |
Reinitialize this position using the default null initialization.
◆ playing
bool TimePosition::playing |
Wherever the host transport is playing/rolling.
◆ frame
uint64_t TimePosition::frame |
Current host transport position in frames.
- Note
- This value is not always monotonic, with some plugin hosts assigning it based on a source that can accumulate rounding errors.
The documentation for this struct was generated from the following file: