SetAudioOutputOpenHandler
Syntax
Delphi
TFlashPlayerControlOnAudioOutputOpen = procedure(lpFormat: PWaveFormatEx) of object;
procedure SetAudioOutputOpenHandler(Handler: TFlashPlayerControlOnAudioOutputOpen);C++Builder
typedef void __fastcall (__closure *TFlashPlayerControlOnAudioOutputOpen)(Mmsystem::PWaveFormatEx lpFormat);
void __fastcall SetAudioOutputOpenHandler(TFlashPlayerControlOnAudioOutputOpen Handler);Description
The SetAudioOutputOpenHandler procedure registers a callback that is invoked when the Flash ActiveX control opens an audio device.
The lpFormat parameter points to a WAVEFORMATEX structure that describes the audio format being used.
This handler can be useful for recording, monitoring or integrating Flash audio playback with external audio systems.