Interface IStreamingAudioEventReceiver
Namespace: Glitch9.AIDevKit
Assembly: .dll
Syntax
public interface IStreamingAudioEventReceiver
Methods
OnReceiveAudio(float[])
Invoked when a chunk of audio data (float array) is received during streaming.
Declaration
void OnReceiveAudio(float[] audioData)
Parameters
Type | Name | Description |
---|---|---|
float[] | audioData |
OnReceiveAudioDone()
Invoked when the full audio stream has been received and finalized.
Declaration
void OnReceiveAudioDone()