Skip to content

Struct Ase::AudioParams

ClassList > Ase > AudioParams

Audio parameter handling, internal to AudioProcessor .

  • #include <processor.hh>

Public Types

Type Name
typedef std::map< uint32_t, ParameterC > Map

Public Attributes

Type Name
std::atomic< uint64_t > * bits = = nullptr
bool changed = = false
uint32 count = = 0
const uint32_t * ids = = nullptr
const ParameterC * parameters = = nullptr
double * values = = nullptr
std::weak_ptr< Property > * wprops = = nullptr

Public Functions

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

Public Types Documentation

typedef Map

using Ase::AudioParams::Map =  std::map<uint32_t,ParameterC>;

Public Attributes Documentation

variable bits

std::atomic<uint64_t>* Ase::AudioParams::bits;

variable changed

bool Ase::AudioParams::changed;

variable count

uint32 Ase::AudioParams::count;

variable ids

const uint32_t* Ase::AudioParams::ids;

variable parameters

const ParameterC* Ase::AudioParams::parameters;

variable values

double* Ase::AudioParams::values;

variable wprops

std::weak_ptr<Property>* Ase::AudioParams::wprops;

Public Functions Documentation

function clear

void Ase::AudioParams::clear () 

function dirty [1/2]

inline bool Ase::AudioParams::dirty (
    uint32_t id
) const

function dirty [2/2]

inline void Ase::AudioParams::dirty (
    uint32_t id,
    bool d
) 

function dirty_index [1/2]

inline bool Ase::AudioParams::dirty_index (
    uint32_t idx
) const

function dirty_index [2/2]

inline void Ase::AudioParams::dirty_index (
    uint32_t idx,
    bool d
) 

function index

inline ssize_t Ase::AudioParams::index (
    uint32_t id
) const

function install

void Ase::AudioParams::install (
    const Map & params
) 

function value [1/2]

inline double Ase::AudioParams::value (
    uint32_t id
) const

function value [2/2]

inline double Ase::AudioParams::value (
    uint32_t id,
    double newval
) 

function ~AudioParams

Ase::AudioParams::~AudioParams () 


The documentation for this class was generated from the following file /__w/anklang/anklang/ase/processor.hh