Home Units Hierarchy Routines All identifiers

Class TunavclDX_FullDuplex

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TunavclDX_FullDuplex = class(unavclInOutWavePipe)

Description

DirectSound Full Duplex component.

Hierarchy

Overview

Methods

Public function getAECParams(out params: DSCFXAec): HRESULT;
Public function getAECStatus(out status: DWORD): HRESULT;
Protected function doOpen(): bool; override;
Protected function doWrite(data: pointer; len: uint; provider: pointer = nil): uint; override;
Protected function getAvailableDataLen(index: integer): uint; override;
Protected function isActive(): bool; override;
Public procedure AfterConstruction(); override;
Public procedure enumDevices();
Protected procedure createNewDevice(); override;
Protected procedure doClose(); override;

Properties

Public property appHandle: tHandle read f_appHandle write f_appHandle;
Published property deviceIdCapture: int read f_devIdCap write f_devIdCap;
Published property deviceIdRender: int read f_devIdRen write f_devIdRen;
Public property deviceName[index:int;cap:bool]: string read getDevName;
Public property deviceNum[cap:bool]: int read getDevNum;
Public property dsRes: HRESULT read f_dsRes;
Published property enableAEC: boolean read f_enAEC write f_enAEC default false;
Published property enableAGC: boolean read f_enAGC write f_enAGC default true;
Published property enableNS: boolean read f_enNS write f_enNS default true;
Published property enableVAD: boolean read f_enVAD write f_enVAD default false;
Published property onFeedDone: unavclPipeDataEvent read f_onFD write f_onFD;

Description

Methods

Public function getAECParams(out params: DSCFXAec): HRESULT;

Get AEC parameters.

Public function getAECStatus(out status: DWORD): HRESULT;

Get current AEC status.

Protected function doOpen(): bool; override;
 
Protected function doWrite(data: pointer; len: uint; provider: pointer = nil): uint; override;
 
Protected function getAvailableDataLen(index: integer): uint; override;
 
Protected function isActive(): bool; override;
 
Public procedure AfterConstruction(); override;
 
Public procedure enumDevices();

Enumerates DS devices. Called in AfterConstruction(). Use to refresh list of devices.

Protected procedure createNewDevice(); override;
 
Protected procedure doClose(); override;
 

Properties

Public property appHandle: tHandle read f_appHandle write f_appHandle;

Application handle which should be passed to DS.

Published property deviceIdCapture: int read f_devIdCap write f_devIdCap;

Device ID for capture (recording).

Published property deviceIdRender: int read f_devIdRen write f_devIdRen;

Device ID for rendering (playback).

Public property deviceName[index:int;cap:bool]: string read getDevName;

Name of capture (recording) [true] or rendering (playback) [true] device by index (index is from 0 to deviceNum[] - 1).

Public property deviceNum[cap:bool]: int read getDevNum;

Number of capture (recording) [true] or rendering (playback) [true] devices.

Public property dsRes: HRESULT read f_dsRes;

Result of last DS call.

Published property enableAEC: boolean read f_enAEC write f_enAEC default false;

True if AEC should be enabled.

Published property enableAGC: boolean read f_enAGC write f_enAGC default true;

True if AGC should be enabled (Vista/Win7 only).

Published property enableNS: boolean read f_enNS write f_enNS default true;

True if NS should be enabled (Vista/Win7 only).

Published property enableVAD: boolean read f_enVAD write f_enVAD default false;

True if VAD should be enabled (Vista/Win7 only).

Published property onFeedDone: unavclPipeDataEvent read f_onFD write f_onFD;

Another rendering chunk is done.

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09