Home Units Hierarchy Routines All identifiers

Class unaDspDProcessor

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaDspDProcessor = class(unaObject)

Description

This is general purpose DSP Lib processor.

Hierarchy

Overview

Fields

Protected f_modified: bool;

Methods

Public constructor create(id: dspl_id);
Public function getc(param_id: dspl_id): pdspl_chunk;
Public function getf(param_id: dspl_id): dspl_float;
Public function geti(param_id: dspl_id): dspl_int;
Public function issetc(param_id: dspl_id): dspl_result;
Public function issetf(param_id: dspl_id): dspl_result;
Public function isseti(param_id: dspl_id): dspl_result;
Public function setc(param_id: dspl_id; chunk: pdspl_float; length: dspl_int): dspl_result;
Public function setf(param_id: dspl_id; value: dspl_float): dspl_result;
Public function seti(param_id: dspl_id; value: dspl_int): dspl_result;
Protected function idIsINOUT(id: dspl_id): bool;
Protected function process(nSamples: dspl_int): dspl_result; virtual; abstract;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;

Properties

Public property id: dspl_id read f_id;

Description

Fields

Protected f_modified: bool;
 

Methods

Public constructor create(id: dspl_id);

Creates a DSP Lib processor. ID could be one of the following: <UL> <LI>(DSPL_OID or DSPL_EQ2B): creates EQ Two Band processor.</LI> <LI>(DSPL_OID or DSPL_EQMB): creates EQ Multi-Band processor.</LI> <LI>(DSPL_OID or DSPL_LD): creates Level Detector processor.</LI> <LI>(DSPL_OID or DSPL_DYNPROC): creates Dynamic Processor.</LI> <LI>(DSPL_OID or DSPL_SPEECHPROC): creates Speech Processor.</LI> <LI>(DSPL_OID or DSPL_ND): creates Noise Detection processor.</LI> <LI>(DSPL_OID or DSPL_MBSP): creates Multi-band Splitter processor.</LI> </UL>

Public function getc(param_id: dspl_id): pdspl_chunk;

Returns array parameter. Parameter ID and value meaning depends on processor type.

Public function getf(param_id: dspl_id): dspl_float;

Returns float parameter. Parameter ID and value meaning depends on processor type.

Public function geti(param_id: dspl_id): dspl_int;

Returns integer parameter. Parameter ID and value meaning depends on processor type.

Public function issetc(param_id: dspl_id): dspl_result;

Returns true if specified array parameter is set.

Public function issetf(param_id: dspl_id): dspl_result;

Returns true if specified float parameter is set.

Public function isseti(param_id: dspl_id): dspl_result;

Returns true if specified integer parameter is set.

Public function setc(param_id: dspl_id; chunk: pdspl_float; length: dspl_int): dspl_result;

Sets array parameter. Parameter ID and value meaning depends on processor type.

Public function setf(param_id: dspl_id; value: dspl_float): dspl_result;

Sets float parameter. Parameter ID and value meaning depends on processor type.

Public function seti(param_id: dspl_id; value: dspl_int): dspl_result;

Sets integer parameter. Parameter ID and value meaning depends on processor type.

Protected function idIsINOUT(id: dspl_id): bool;
 
Protected function process(nSamples: dspl_int): dspl_result; virtual; abstract;
 
Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 

Properties

Public property id: dspl_id read f_id;

Returns processor's ID.

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09