SetAudioOutputWriteHandler

Syntax

Delphi

TFlashPlayerControlOnAudioOutputWrite = procedure(lpWaveOutHdr: PWaveHdr; uSize: UINT) of object;
 
procedure SetAudioOutputWriteHandler(Handler: TFlashPlayerControlOnAudioOutputWrite);

C++Builder

typedef void __fastcall (__closure *TFlashPlayerControlOnAudioOutputWrite)
   (Mmsystem::PWaveHdr lpWaveOutHdr, int uSize);
 
void __fastcall SetAudioOutputWriteHandler(TFlashPlayerControlOnAudioOutputWrite Handler);

Description

The SetAudioOutputWriteHandler procedure registers a callback that is invoked whenever the Flash ActiveX control writes audio data to the output device.

  • lpWaveOutHdr points to a WAVEHDR structure containing information about the audio buffer.
  • uSize specifies the size of the audio data in bytes.

This handler can be used to record, intercept or process audio samples in real time.