Home Units Hierarchy Routines All identifiers

Class unaAudioFeedbackClass

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaAudioFeedbackClass = class(unaThread)

Description

– audio feedback class –

Hierarchy

Overview

Methods

Public function recordWaveCmd(cmd: int; const fileName: wideString = ''): HRESULT;
Public function setup(delay: unsigned = 40; inDeviceId: int = int(WAVE_MAPPER); outDeviceId: int = int(WAVE_MAPPER); format: pWAVEFORMATEX = nil): HRESULT;
Protected function execute(threadId: unsigned): int; override;
Public procedure AfterConstruction(); override;
Public procedure BeforeDestruction(); override;
Protected procedure startIn(); override;
Protected procedure startOut(); override;

Properties

Public property delay: unsigned read f_delay write setDelay;
Public property errorCode: int read f_errorCode;
Public property onChunkDone: unaWaveDataEvent read f_onCD write f_onCD;
Public property onDataAvailable: unaWaveDataEvent read f_onDA write f_onDA;
Public property status: int read f_status;
Public property waveFormat: PWAVEFORMATEXTENSIBLE read getWaveFormat;
Public property waveIn: unaWaveInDevice read f_waveIn;
Public property waveOut: unaWaveOutDevice read getWaveOut;

Description

Methods

Public function recordWaveCmd(cmd: int; const fileName: wideString = ''): HRESULT;
 
Public function setup(delay: unsigned = 40; inDeviceId: int = int(WAVE_MAPPER); outDeviceId: int = int(WAVE_MAPPER); format: pWAVEFORMATEX = nil): HRESULT;
 
Protected function execute(threadId: unsigned): int; override;
 
Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 
Protected procedure startIn(); override;
 
Protected procedure startOut(); override;
 

Properties

Public property delay: unsigned read f_delay write setDelay;
 
Public property errorCode: int read f_errorCode;
 
Public property onChunkDone: unaWaveDataEvent read f_onCD write f_onCD;
 
Public property onDataAvailable: unaWaveDataEvent read f_onDA write f_onDA;

stupid Delphi compiler canot directly cast f_waveOut as unaWaveOutDevice.

Public property status: int read f_status;
 
Public property waveFormat: PWAVEFORMATEXTENSIBLE read getWaveFormat;
 
Public property waveIn: unaWaveInDevice read f_waveIn;
 
Public property waveOut: unaWaveOutDevice read getWaveOut;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09