TsgcAIOpenAIChatBotEvents › OnAudioStart

OnAudioStart Event

Fires when the AudioRecorder begins capturing microphone audio.

Syntax

__property TsgcOpenAIAudioStart OnAudioStart;
// typedef void __fastcall (__closure *TsgcOpenAIAudioStart)(TObject * Sender);

Default Value

Remarks

Raised right after Start (or the auto-restart triggered by camoAuto) has asked the AudioRecorder to begin recording. Use it to update the UI with a “listening” indicator or to mute other audio sources. The event carries no payload — query AudioRecorder.RecorderOptions for the filename being written.

Example

Back to Events