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

The transport's accepted loop control state. More...

#include <transport.hpp>

Public Member Functions

constexpr bool operator== (const TransportLoopState &) const =default

Public Attributes

std::uint64_t sequence = 0
LoopRegion loop {}
bool prepared = false

Detailed Description

The transport's accepted loop control state.

Unlike TransportPlayhead::sequence, this sequence changes only when the loop authority changes (prepare, reset, or an accepted set_loop()). Audio blocks therefore cannot create false optimistic-concurrency conflicts for a control client editing the same loop it just read.

Member Function Documentation

◆ operator==()

bool pulp::playback::TransportLoopState::operator== ( const TransportLoopState & ) const
constexprdefault

Member Data Documentation

◆ loop

LoopRegion pulp::playback::TransportLoopState::loop {}

◆ prepared

bool pulp::playback::TransportLoopState::prepared = false

◆ sequence

std::uint64_t pulp::playback::TransportLoopState::sequence = 0

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