TsgcAIOpenAIChatBot › Events › OnAudioStop
Fires after microphone capture stops and before transcription is sent to Whisper.
__property TsgcOpenAIAudioStop OnAudioStop;
// typedef void __fastcall (__closure *TsgcOpenAIAudioStop)(TObject * Sender);
—
Raised once AudioRecorder.Stop has finalised the audio file. It is the last chance to inspect the raw recording before it is uploaded to Whisper for transcription. Use it to hide the “listening” indicator, show a “thinking” spinner, or copy the audio file for archival.