Versions Compared

Key

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

Overview

Audio weaver wrapper for a module buffering a file

Discussion

This module implements the Audio Weaver wrapper for MP3 decoder on native PC target.

Type Definition

Code Block
typedef struct _ModuleFileMemBuffer
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
    UINT32 bufferSize;                            // Size of the buffer holding the file content
    UINT32 bufferPtr;                             // Pointer of the buffer
    UINT32* fileBuffer;                           // Buffer holding the file data
} ModuleFileMemBufferClass;

Variables

Properties

Name

Type

Usage

isHidden

Default value

Range

Units

bufferSize

uint

state

1

0

Unrestricted

bufferPtr

uint

state

1

0

Unrestricted

fileBuffer

uint*

state

1

[1 x 1]

Unrestricted

Pins

Output Pins

Name: bufferPtr

Description: Pointer to the buffer holding data

Data type: int

MATLAB Usage

File Name: file_mem_buffer_module.m

...