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

What service_panic() did. More...

#include <panic.hpp>

Public Attributes

bool serviced = false
PanicMode mode = PanicMode::immediate
std::size_t events_emitted = 0
 Events written to the MIDI output buffer.
std::size_t events_deferred = 0
 Events the buffer had no room for this block.
bool complete = true
 True when the whole panic has been written.
bool carried = false
 This block continued a panic begun in an earlier block.

Detailed Description

What service_panic() did.

Member Data Documentation

◆ carried

bool pulp::format::PanicOutcome::carried = false

This block continued a panic begun in an earlier block.

◆ complete

bool pulp::format::PanicOutcome::complete = true

True when the whole panic has been written.

False means the MIDI output buffer filled and service_panic() continues the panic on the next blocks without a new request.

◆ events_deferred

std::size_t pulp::format::PanicOutcome::events_deferred = 0

Events the buffer had no room for this block.

They are not lost: the panic carries over and the next blocks send them (see complete).

◆ events_emitted

std::size_t pulp::format::PanicOutcome::events_emitted = 0

Events written to the MIDI output buffer.

◆ mode

PanicMode pulp::format::PanicOutcome::mode = PanicMode::immediate

◆ serviced

bool pulp::format::PanicOutcome::serviced = false

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