(8.D.1.2) GetWireProperties
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
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.
Â