Contents

struct

SushiDSP::ParameterBinding

template <typename Node>

One parameter: what a host sees, how it is written and how it is read.

Declared in
include/SushiDSP/core/ParameterTable.hpp

The two function pointers take the node rather than binding to a member, so a row can reach a private field through a lambda written inside the node's own scope. That is what keeps a node from having to expose a public reader for every knob it owns.

Public attributes

ParameterDescriptor descriptor

The row a host reads: id, label, range, unit.

void(* write)(Node &, float)

Applies a value to the node.

float(* read)(const Node &)

Returns what the node currently holds.