Skip to content

OnRawAudioSample

event

Delphi
property OnRawAudioSample: TOnRawAudioSample read FOnRawAudioSample write FOnRawAudioSample;
C++Builder
__property TOnRawAudioSample OnRawAudioSample = {read=FOnRawAudioSample, write=FOnRawAudioSample};
typedef void __fastcall (__closure *TOnRawAudioSample)(System::TObject* Sender, Winapi::Windows::PByte pSampleBuffer, System::LongInt SampleBufferSize, System::LongInt SampleDataLength, TFormatType FormatType, void * pFormat, void * pWaveFormatEx, LargeInteger SampleStartTime, LargeInteger SampleStopTime);
C#
public event OnRawAudioSampleEventHandler OnRawAudioSample;
public delegate void OnRawAudioSampleEventHandler(object sender, TOnRawAudioSampleEventArgs e);
VB.NET
Public Event OnRawAudioSample As OnRawAudioSampleEventHandler
Public Delegate Sub OnRawAudioSampleEventHandler(sender As Object, e As TOnRawAudioSampleEventArgs)
C++/Qt
void SetOnRawAudioSample (TOnRawAudioSampleCb OnRawAudioSampleCb);
typedef void CALLBACK TOnRawAudioSampleCb (void *Object, void *Sender, byte *pSampleBuffer, int SampleBufferSize, int SampleDataLength, TFormatType FormatType, void *pFormat, void *pWaveFormatEx, __int64 SampleStartTime, __int64 SampleStopTime);

Gives access to the current audio sample.

Remarks

This TOnRawAudioSample event gives access to the current audio sample.