Ase::AudioParams struct final

Audio parameter handling, internal to AudioProcessor.

Public functions

void clear()
Clear all fields.
auto dirty_index(uint32_t idx) const →  bool
Check if parameter is dirty (changed).
void dirty_index(uint32_t idx, bool d)
Set or clear parameter dirty flag.
auto index(uint32_t id) const →  ssize_t
Find index of parameter identified by id or return -1.
void install(const Map& params)
Clear and install a new set of parameters.
auto value(uint32_t id) const →  double
Read current value of parameter identified by id.
auto value(uint32_t id, double newval) →  double
Write new value into parameter identified by id, return old value.