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 constant data

Discussion

The DC source int module has an internal variable holding one data value. The module continuously fills the output wire with the internal data value. Since this is a source module, you must specify the number of channels, block size, and sample rate of the output pin

Type Definition

Code Block
typedef struct _ModuleDCSourceInt
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
    INT32 value;                                  // Data Value
} ModuleDCSourceIntClass;

Variables

Properties

Name

Type

Usage

isHidden

Default value

Range

Units

value

int

parameter

0

0

-2147483648:2147483647

Pins

Output Pins

Name: out

Description: output data

Data type: int

MATLAB Usage

File Name: dc_source_int_module.m

...