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

Configuration for a newly-registered virtual endpoint. More...

#include <ump_virtual_endpoint.hpp>

Public Attributes

std::string name = "Pulp Virtual UMP"
bool loopback = false
 True if send() should also fire the receive callback (round-trip loopback).
UmpEndpointDirection direction { true, true }
 Direction the endpoint advertises in its info().

Detailed Description

Configuration for a newly-registered virtual endpoint.

All fields have sensible defaults; only name is normally set.

Member Data Documentation

◆ direction

UmpEndpointDirection pulp::midi::VirtualUmpEndpointConfig::direction { true, true }

Direction the endpoint advertises in its info().

Defaults to fully bidirectional; tests that want to assert "this endpoint rejects outbound" can flip can_send off.

◆ loopback

bool pulp::midi::VirtualUmpEndpointConfig::loopback = false

True if send() should also fire the receive callback (round-trip loopback).

False (default) makes the endpoint look like a sink: send() consumes, the receive callback only fires for packets pushed in via deliver().

◆ name

std::string pulp::midi::VirtualUmpEndpointConfig::name = "Pulp Virtual UMP"

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