...
Code Block |
---|
typedef struct _ModuleParamGet { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure void * modPtr; // Points to the module to get void * varPtr; // Points to the variable to get within the module instance structure } ModuleParamGetClass; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
modPtr | void * | parameter | 1 | Unrestricted | ||
varPtr | void * | parameter | 1 | Unrestricted |
Pins
Output Pins
Name: out
Description: parameter value
...
Code Block |
---|
M=param_get_module(NAME, DATATYPE, MODVAR)
Parameter get module. This module can reach into the instance structure
of other modules and gets the parameter values. Arguments:
NAME - name of the module.
DATATYPE - string specifying the data type of the variable and
also used for the data type of the input pin. Allowable
values are 'float', 'int', or 'fract32'. Implicit casts from
'int' to 'uint' variables allowed, but take caution to avoid
passing out of range values.
MODVAR - specifies the module and variable name using the form:
'MOD.VAR' where MOD is the module name and VAR is the
variable name. You can also specify internal subsystems using
'SUBSYS.MOD.VAR'.
EXECUTIONORDER - Determines when the ParamSet module executes relative
to the module it is controlling. Allowable values are:
'undefined' - the default. The execution order is set
by the routing algorithm and can occur before
or after the module it is controlling.
'before' - forces ParamSet to execute before the module it
is controlling.
'after' - forces ParamSet to execute after the module it
is controlling.
When using 'before' and 'after' you could get a build error
indicating that no more modules can execute or there is a
circular dependency. |