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

Protocol callbacks, in the order they are invoked for a gesture: begin → value(one or more) → value → end. More...

#include <host_parameter_edit.hpp>

Public Attributes

std::function< void(state::ParamID)> begin
 Host gesture open (VST3 beginEdit, CLAP GestureBegin).
std::function< void(state::ParamID, float normalized, float plain)> value
 Report a value.
std::function< void(state::ParamID)> end
 Host gesture close (VST3 endEdit, CLAP GestureEnd).

Detailed Description

Protocol callbacks, in the order they are invoked for a gesture: begin → value(one or more) → value → end.

Member Data Documentation

◆ begin

std::function<void(state::ParamID)> pulp::format::HostParameterEditBridge::Callbacks::begin

Host gesture open (VST3 beginEdit, CLAP GestureBegin).

◆ end

std::function<void(state::ParamID)> pulp::format::HostParameterEditBridge::Callbacks::end

Host gesture close (VST3 endEdit, CLAP GestureEnd).

◆ value

std::function<void(state::ParamID, float normalized, float plain)> pulp::format::HostParameterEditBridge::Callbacks::value

Report a value.

normalized and plain are the same single snapshot for this edit; plain lets a format map it to the host's normalized domain in its own precision.


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