Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::state::PlayheadState Struct Reference

Volatile, high-rate transport/playhead state. More...

#include <sequencer_state_channel.hpp>

Public Attributes

std::uint64_t sample_time = 0
double ppq_position = 0.0
std::uint32_t block_index = 0
std::uint8_t active_pattern = 0
std::uint8_t active_step = 0
std::uint8_t playing = 0
std::uint8_t reserved = 0

Detailed Description

Volatile, high-rate transport/playhead state.

Trivially copyable for SeqLock. This is the reference single-cursor playhead; a Config may substitute a richer (e.g. per-lane) trivially-copyable playhead type.

Member Data Documentation

◆ active_pattern

std::uint8_t pulp::state::PlayheadState::active_pattern = 0

◆ active_step

std::uint8_t pulp::state::PlayheadState::active_step = 0

◆ block_index

std::uint32_t pulp::state::PlayheadState::block_index = 0

◆ playing

std::uint8_t pulp::state::PlayheadState::playing = 0

◆ ppq_position

double pulp::state::PlayheadState::ppq_position = 0.0

◆ reserved

std::uint8_t pulp::state::PlayheadState::reserved = 0

◆ sample_time

std::uint64_t pulp::state::PlayheadState::sample_time = 0

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