Description | Hierarchy | Fields | Methods | Properties |
type unaAudioFeedbackClass = class(unaThread)
– audio feedback class –
function recordWaveCmd(cmd: int; const fileName: wideString = ''): HRESULT; |
|
function setup(delay: unsigned = 40; inDeviceId: int = int(WAVE_MAPPER); outDeviceId: int = int(WAVE_MAPPER); format: pWAVEFORMATEX = nil): HRESULT; |
|
function execute(threadId: unsigned): int; override; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure startIn(); override; |
|
procedure startOut(); override; |
property delay: unsigned read f_delay write setDelay; |
|
property errorCode: int read f_errorCode; |
|
property onChunkDone: unaWaveDataEvent read f_onCD write f_onCD; |
|
property onDataAvailable: unaWaveDataEvent read f_onDA write f_onDA; |
|
property status: int read f_status; |
|
property waveFormat: PWAVEFORMATEXTENSIBLE read getWaveFormat; |
|
property waveIn: unaWaveInDevice read f_waveIn; |
|
property waveOut: unaWaveOutDevice read getWaveOut; |
function recordWaveCmd(cmd: int; const fileName: wideString = ''): HRESULT; |
|
function setup(delay: unsigned = 40; inDeviceId: int = int(WAVE_MAPPER); outDeviceId: int = int(WAVE_MAPPER); format: pWAVEFORMATEX = nil): HRESULT; |
|
function execute(threadId: unsigned): int; override; |
|
procedure AfterConstruction(); override; |
|
procedure BeforeDestruction(); override; |
|
procedure startIn(); override; |
|
procedure startOut(); override; |
|
property delay: unsigned read f_delay write setDelay; |
|
property errorCode: int read f_errorCode; |
|
property onChunkDone: unaWaveDataEvent read f_onCD write f_onCD; |
|
property onDataAvailable: unaWaveDataEvent read f_onDA write f_onDA; |
|
stupid Delphi compiler canot directly cast f_waveOut as unaWaveOutDevice. |
property status: int read f_status; |
|
property waveFormat: PWAVEFORMATEXTENSIBLE read getWaveFormat; |
|
property waveIn: unaWaveInDevice read f_waveIn; |
|
property waveOut: unaWaveOutDevice read getWaveOut; |
|
(c) 2012 Lake of Soft