Overview
Get Wire Properties
Discussion
This module implements wire properties query.
Block Size - Wire block size in samples.
Number Channels - Number of interleaved channels.
Sample Rate - Sample rate in hertz.
Data Type - 1 - Float, 2 - Fract32, 3 - Int.
Is Complex - Is the data complex.
Type Definition
typedef struct _ModuleGetWireProperties { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32 nVariableNdx; // Variable Index INT32 BlockSize; // Block Size INT32 NumChannels; // Number of Channels INT32 SampleRate; // Sample Rate INT32 DataType; // Data Type INT32 IsComplex; // Is Complex } ModuleGetWirePropertiesClass;
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
nVariableNdx | int | parameter | 0 | 1 | Unrestricted | |
BlockSize | int | const | 0 | 32 | Unrestricted | |
NumChannels | int | const | 0 | 1 | Unrestricted | |
SampleRate | int | const | 0 | 48000 | Unrestricted | |
DataType | int | const | 0 | 1 | Unrestricted | |
IsComplex | int | const | 0 | 0 | Unrestricted |
Pins
Input Pins
Input Pins
Name: input
Description: Wire Property
Data type: {float, int, fract32}
Channel range: Unrestricted
Block size range: Unrestricted
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: property
Description: Wire Property
Data type: int
MATLAB Usage
File Name: get_wire_properties_module.m
M = get_wire_properties_module(NAME) Audio Weaver system variable module. Arguments: NAME - name of the module. Copyright (c) 2019 DSP Concepts, Inc. All Rights Reserved.