Description | Hierarchy | Fields | Methods | Properties |
type TunavclDX_FullDuplex = class(unavclInOutWavePipe)
DirectSound Full Duplex component.
function getAECParams(out params: DSCFXAec): HRESULT; |
|
function getAECStatus(out status: DWORD): HRESULT; |
|
function doOpen(): bool; override; |
|
function doWrite(data: pointer; len: uint; provider: pointer = nil): uint; override; |
|
function getAvailableDataLen(index: integer): uint; override; |
|
function isActive(): bool; override; |
|
procedure AfterConstruction(); override; |
|
procedure enumDevices(); |
|
procedure createNewDevice(); override; |
|
procedure doClose(); override; |
property appHandle: tHandle read f_appHandle write f_appHandle; |
|
property deviceIdCapture: int read f_devIdCap write f_devIdCap; |
|
property deviceIdRender: int read f_devIdRen write f_devIdRen; |
|
property deviceName[index:int;cap:bool]: string read getDevName; |
|
property deviceNum[cap:bool]: int read getDevNum; |
|
property dsRes: HRESULT read f_dsRes; |
|
property enableAEC: boolean read f_enAEC write f_enAEC default false; |
|
property enableAGC: boolean read f_enAGC write f_enAGC default true; |
|
property enableNS: boolean read f_enNS write f_enNS default true; |
|
property enableVAD: boolean read f_enVAD write f_enVAD default false; |
|
property onFeedDone: unavclPipeDataEvent read f_onFD write f_onFD; |
function getAECParams(out params: DSCFXAec): HRESULT; |
|
Get AEC parameters. |
function getAECStatus(out status: DWORD): HRESULT; |
|
Get current AEC status. |
function doOpen(): bool; override; |
|
function doWrite(data: pointer; len: uint; provider: pointer = nil): uint; override; |
|
function getAvailableDataLen(index: integer): uint; override; |
|
function isActive(): bool; override; |
|
procedure AfterConstruction(); override; |
|
procedure enumDevices(); |
|
Enumerates DS devices. Called in AfterConstruction(). Use to refresh list of devices. |
procedure createNewDevice(); override; |
|
procedure doClose(); override; |
|
property appHandle: tHandle read f_appHandle write f_appHandle; |
|
Application handle which should be passed to DS. |
property deviceIdCapture: int read f_devIdCap write f_devIdCap; |
|
Device ID for capture (recording). |
property deviceIdRender: int read f_devIdRen write f_devIdRen; |
|
Device ID for rendering (playback). |
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). |
property deviceNum[cap:bool]: int read getDevNum; |
|
Number of capture (recording) [true] or rendering (playback) [true] devices. |
property dsRes: HRESULT read f_dsRes; |
|
Result of last DS call. |
property enableAEC: boolean read f_enAEC write f_enAEC default false; |
|
True if AEC should be enabled. |
property enableAGC: boolean read f_enAGC write f_enAGC default true; |
|
True if AGC should be enabled (Vista/Win7 only). |
property enableNS: boolean read f_enNS write f_enNS default true; |
|
True if NS should be enabled (Vista/Win7 only). |
property enableVAD: boolean read f_enVAD write f_enVAD default false; |
|
True if VAD should be enabled (Vista/Win7 only). |
property onFeedDone: unavclPipeDataEvent read f_onFD write f_onFD; |
|
Another rendering chunk is done. |
(c) 2012 Lake of Soft