DISTRHO Plugin Framework
 All Classes Functions Variables Enumerations Enumerator Groups Pages
Classes | Public Member Functions | Public Attributes | List of all members
TimePosition Struct Reference

#include <DistrhoPlugin.hpp>


struct  BarBeatTick

Public Member Functions

 TimePosition () noexcept
void clear () noexcept

Public Attributes

bool playing
uint64_t frame
struct TimePosition::BarBeatTick bbt

Detailed Description

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.

Constructor & Destructor Documentation

TimePosition::TimePosition ( )

Default constructor for a time position.

Member Function Documentation

void TimePosition::clear ( )

Reinitialize this position using the default null initialization.

Member Data Documentation

bool TimePosition::playing

Wherever the host transport is playing/rolling.

uint64_t TimePosition::frame

Current host transport position in frames.

The documentation for this struct was generated from the following file: