Class AudioBufferReceivedEventArgs
- Namespace
- GenerativeAI.Live
- Assembly
- GenerativeAI.Live.dll
Provides event data.
public class AudioBufferReceivedEventArgs : EventArgs
- Inheritance
-
AudioBufferReceivedEventArgs
- Inherited Members
- Extension Methods
Constructors
AudioBufferReceivedEventArgs(byte[], AudioHeaderInfo)
Initializes a new instance of the AudioBufferReceivedEventArgs class.
public AudioBufferReceivedEventArgs(byte[] buffer, AudioHeaderInfo audioHeaderInfo)
Parameters
bufferbyte[]The audio buffer data.
audioHeaderInfoAudioHeaderInfoThe audio header information.
Properties
Buffer
Gets or sets the audio data buffer.
public byte[] Buffer { get; set; }
Property Value
- byte[]
HeaderInfo
Gets or sets the header information for the audio data.
public AudioHeaderInfo HeaderInfo { get; set; }
Property Value
InputTranscription
Gets or sets the transcription of the input audio.
public Transcription? InputTranscription { get; set; }
Property Value
OutputTranscription
Gets or sets the transcription of the output audio.
public Transcription? OutputTranscription { get; set; }