Skip to content

InterleavedSink

Discussion

THIS MODULE IS DEPRECATED AND NOT RECOMMENDED FOR NEW DESIGNS. PLEASE USE THE Sink MODULE INSTEAD.

This module copies the data at the input pin to an internal buffer (value). The copy operation occurs at each block process and thus the data continuously updates. This module is used to store the value of a wire and make it available to the control code, or a host processor. The data is stored in an interleaved fashion so that C interface code can easier access multichannel data stored in this module The data type is not important from the point of view of this module. This module will store any 32-bit data type. However, the data type should be known on the C interface side.

Module Pack

Advanced

ClassID

classID = 1364

Type Definition

typedef struct _ModuleInterleavedSink
{
ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
INT32* value;                                 // Captured values
} ModuleInterleavedSinkClass;

Variables

Properties

Name Type Usage isHidden Default Value Range Units
value float* state 0 [1 x 32] Unrestricted

Pins

Input Pins

Name in
Description audio input
Data type {float, int, fract32}
Channel range Unrestricted
Block size range Unrestricted
Sample rate range Unrestricted
Complex support Real and Complex

Matlab Usage

File Name: interleaved_sink_module.m 
 M=interleaved_sink_module(NAME) 
 Creates a sink (capture) module for use with the Audio Weaver 
 environment.  The module captures a block of any input data and stores it 
 in its internal buffer. The data is stored in an interleaved format 
 which can then be used as an interface with C code. Arguments: 
    NAME - name of the module. 

Copyright (c) 2026 DSP Concepts, Inc.