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

#include <transport.hpp>

Public Attributes

std::uint32_t sample_offset = 0
std::uint32_t frame_count = 0
timebase::SamplePosition timeline_sample_start {}
timebase::TickPosition timeline_tick_start {}
timebase::TickPosition timeline_tick_end {}
timebase::MonotonicBeat monotonic_start {}
timebase::MonotonicBeat monotonic_end {}
timebase::BarPosition bar_start {}
double tempo_bpm = 120.0
bool tempo_changed = false
bool discontinuity = false
bool host_beat_mapping = false
double host_tick_start = 0.0
double host_tick_end = 0.0
bool has_precise_host_ticks = false
std::uint64_t playback_epoch = 0
 Identity of the continuous playback interval containing this range.
std::uint64_t loop_pass_index = 0
 Zero-based loop pass within the transport's current playback epoch.

Member Data Documentation

◆ bar_start

timebase::BarPosition pulp::playback::TransportRange::bar_start {}

◆ discontinuity

bool pulp::playback::TransportRange::discontinuity = false

◆ frame_count

std::uint32_t pulp::playback::TransportRange::frame_count = 0

◆ has_precise_host_ticks

bool pulp::playback::TransportRange::has_precise_host_ticks = false

◆ host_beat_mapping

bool pulp::playback::TransportRange::host_beat_mapping = false

◆ host_tick_end

double pulp::playback::TransportRange::host_tick_end = 0.0

◆ host_tick_start

double pulp::playback::TransportRange::host_tick_start = 0.0

◆ loop_pass_index

std::uint64_t pulp::playback::TransportRange::loop_pass_index = 0

Zero-based loop pass within the transport's current playback epoch.

Transport producers own this state so newly attached renderers and renderers that skip a callback observe the same pass.

◆ monotonic_end

timebase::MonotonicBeat pulp::playback::TransportRange::monotonic_end {}

◆ monotonic_start

timebase::MonotonicBeat pulp::playback::TransportRange::monotonic_start {}

◆ playback_epoch

std::uint64_t pulp::playback::TransportRange::playback_epoch = 0

Identity of the continuous playback interval containing this range.

A block may contain two epochs only when its second range applies a newly latched scrub anchor. Ordinary loop wraps retain the epoch.

◆ sample_offset

std::uint32_t pulp::playback::TransportRange::sample_offset = 0

◆ tempo_bpm

double pulp::playback::TransportRange::tempo_bpm = 120.0

◆ tempo_changed

bool pulp::playback::TransportRange::tempo_changed = false

◆ timeline_sample_start

timebase::SamplePosition pulp::playback::TransportRange::timeline_sample_start {}

◆ timeline_tick_end

timebase::TickPosition pulp::playback::TransportRange::timeline_tick_end {}

◆ timeline_tick_start

timebase::TickPosition pulp::playback::TransportRange::timeline_tick_start {}

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/playback/include/pulp/playback/transport.hpp