Overview
Source buffer holding 1 wire of data
Discussion
The probe module has an internal buffer holding 1 input or output wire's worth of data. The module continuously copies the data from the internal value buffer to the output wire or simply pass the data unchanged or copies the data from the input wire to internal buffer. The following table discusses the various operations types,. operationType = 0, pass the data unchanged.
...
operationType = 2, copy the data from internal buffer to output wire.
Type Definition
Code Block |
---|
typedef struct _ModuleProbeFract32 { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32 operationType; // Selects the type of operation that is implemented by the module: DATA_UNCHANGED=0 WIRE_TO_BUFFER=1 BUFFER_TO_WIRE=2 fract32* value; // Array of interleaved audio data } ModuleProbeFract32Class; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
operationType | int | parameter | 0 | 0 | 0:3 | |
value | fract32* | parameter | 0 | [32 x 1] | Unrestricted |
Pins
Input Pins
Name: in
Description: input data
...
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: out
Description: output data
Data type: fract32
MATLAB Usage
File Name: probe_fract32_module.m
...