Overview
System Variable
Discussion
This module returns internal information from the AWECore library and layout (thread) that the module is running in. The module always outputs the information as a floating-point value.
...
ResetCount - this is the number of times that the containing layout was in reset. Reset occurs when there is an overrun in any audio processing thread throughout the system. This variable will be the same across all layouts. When debugging a system, you only need to watch for resets on a single thread and the ResetCount will reflect system-wide behavior. This counter is available only from the AWECore release of AC-8.D.6 and later. Index = 12.
Type Definition
Code Block |
---|
typedef struct _ModuleSystemVariable { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32 variableIndex; // Variable Index INT32 prevTime; // Previous cycle time void * pOwnerPtr; // Pointer to hold owner AWEInstance pointer UINT32 * resetCounter; // Pointer to hold reset count. It is used as a unsigned int variable and added as a pointer to avoid compatibility issues } ModuleSystemVariableClass; |
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
variableIndex | int | parameter | 0 | 1 | Unrestricted | |
prevTime | int | const | 0 | 0 | Unrestricted | |
pOwnerPtr | void * | state | 1 | Unrestricted | ||
resetCounter | UINT32 | state | 1 | Unrestricted |
Pins
Output Pins
Name: variable
Description: System Variable
Data type: float
MATLAB Usage
File Name: system_variable_module.m
...