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

#include <event_compensation.hpp>

Public Member Functions

constexpr operator bool () const noexcept

Public Attributes

EventCompensationCode code = EventCompensationCode::Ok
EventCompensationShift shift {}
std::int64_t actual = 0
 The offending value and the ceiling that rejected it, so a caller can report the exact number rather than only that something was too large.
std::int64_t limit = 0
std::size_t index = 0
 Index into the supplied latencies for a per-device failure.

Member Function Documentation

◆ operator bool()

pulp::playback::EventCompensationResult::operator bool ( ) const
inlineexplicitconstexprnoexcept

Member Data Documentation

◆ actual

std::int64_t pulp::playback::EventCompensationResult::actual = 0

The offending value and the ceiling that rejected it, so a caller can report the exact number rather than only that something was too large.

◆ code

EventCompensationCode pulp::playback::EventCompensationResult::code = EventCompensationCode::Ok

◆ index

std::size_t pulp::playback::EventCompensationResult::index = 0

Index into the supplied latencies for a per-device failure.

◆ limit

std::int64_t pulp::playback::EventCompensationResult::limit = 0

◆ shift

EventCompensationShift pulp::playback::EventCompensationResult::shift {}

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