Home Units Hierarchy Routines All identifiers

Class TunavclDSPDLibMBSP

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TunavclDSPDLibMBSP = class(unavclDSPDLibMultiBand)

Description

Multi-band Splitter Pipe.

Hierarchy

Overview

Methods

Public constructor Create(owner: tComponent); override;
Protected function convertOutFloat2PCM(out buf: pointer): int; override;
Protected function getNumFreq(): int; override;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;

Properties

Published property onRawSamplesAvailable: unavclRawSamplesAvailable read f_onRawSamplesAvail write f_onRawSamplesAvail;
Public property passThrough[band:unsigned]: bool read getPT write setPT;
Published property processDataInPlace default false;

Description

Methods

Public constructor Create(owner: tComponent); override;
 
Protected function convertOutFloat2PCM(out buf: pointer): int; override;

Converts DSP DLib output float buffer(s) to PCM plain buffer, and returns its size in bytes.

Protected function getNumFreq(): int; override;

Num of freqs is one less than numBands in MBSP, so we override this function

Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 

Properties

Published property onRawSamplesAvailable: unavclRawSamplesAvailable read f_onRawSamplesAvail write f_onRawSamplesAvail;

Fired when raw multi-band samples are ready.

Public property passThrough[band:unsigned]: bool read getPT write setPT;

Pass-through value for a specific band.

Published property processDataInPlace default false;

MBSP splits the audio into bands only when processDataInPlace is false, so we make it default.

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09