Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Documents: Update page title prefix

Overview

Source buffer holding 1 wire of integer data

Discussion

The source module has an internal buffer holding 1 output wire's worth of data. The module continuously copies the data from the internal value buffer to the output wire. Since this is a source module, you must specify the number of channels, blockSize, and sample rate of the output pin

Type Definition

Code Block
typedef struct _ModuleSourceInt
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
    INT32* value;                                 // Array of interleaved audio data
} ModuleSourceIntClass;

Variables

Properties

Name

Type

Usage

isHidden

Default value

Range

Units

value

int*

parameter

0

[16 x 2]

Unrestricted

Pins

Output Pins

Name: out

Description: output data

Data type: int

MATLAB Usage

File Name: source_int_module.m

...