Interface IAudioOutput
Responsible for playing audio that is sent to it.
You'd normally want a
Namespace: Adrenak.UniVoice
Assembly: cs.temp.dll.dll
Syntax
public interface IAudioOutput : IDisposable
Properties
ID
An ID associated with this audio output
Declaration
string ID { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
Feed(ChatroomAudioSegment)
Feeds a ChatroomAudioSegment object to the audio output.
Declaration
void Feed(ChatroomAudioSegment segment)
Parameters
Type | Name | Description |
---|---|---|
ChatroomAudioSegment | segment | The audio data to be sent. |
Feed(Int32, Int32, Int32, Single[])
Feeds the data to the output implementation
Declaration
void Feed(int segmentIndex, int frequency, int channelCount, float[] audioSamples)
Parameters
Type | Name | Description |
---|---|---|
Int32 | segmentIndex | The index of the segment of samples from the audio |
Int32 | frequency | The frequency/sampling rate of the audio |
Int32 | channelCount | The number of channels in the audio |
Single[] | audioSamples | The audio samples/segment being fed |