|
This property activates and deactivates the waveform-audio input device. Everytime Active is set from False to True, the component begins to play all files and macros the ThbWaveOut.Playlist property contains. Playing begins with the first entry and ends with the last one. After playing the last entry has finished, Active is set back to False and the ThbWaveOut.OnDone event is fired. Setting Active to False while playing causes playing to stop after a delay of BufferTime and no OnDone event is triggerd in this case.
AvailabilityDesign-Time: None / Run-Time: Read, Write
Declarationproperty Active: Boolean; ErrorsSetting this property to True may cause an EWaveError exception. Error occuring during recording are send to the application as OnWaveError events. Possible errors are: MMSYSERR_ALLOCATED, MMSYSERR_BADDEVICEID, MMSYSERR_NODRIVER, MMSYSERR_NOMEM, WAVERR_BADFORMAT, WAVERR_SYNC. See AlsoThbWaveIn.OnWaveError, EWaveError |