Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::sequence::HostTransportProjector Class Reference

Re-anchors the engine transport to the host's integer sample position on every callback. More...

#include <host_transport_projector.hpp>

Public Member Functions

HostTransportProjectionError prepare (const timebase::CompiledTempoMap &tempo_map, std::uint32_t maximum_block_size) noexcept
HostTransportProjectionError project (const format::ProcessContext &context, playback::TransportSnapshot &snapshot) noexcept
void reset () noexcept

Detailed Description

Re-anchors the engine transport to the host's integer sample position on every callback.

A loop crossing is represented by the same two-range snapshot contract as MasterTransport; loops shorter than one callback fail closed because they would require more than two ranges.

Member Function Documentation

◆ prepare()

HostTransportProjectionError pulp::sequence::HostTransportProjector::prepare ( const timebase::CompiledTempoMap & tempo_map,
std::uint32_t maximum_block_size )
noexcept

◆ project()

HostTransportProjectionError pulp::sequence::HostTransportProjector::project ( const format::ProcessContext & context,
playback::TransportSnapshot & snapshot )
noexcept

◆ reset()

void pulp::sequence::HostTransportProjector::reset ( )
noexcept

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