Class StreamedAudioSourceOutput
An implementation of IAudioOutput that plays peer audio using StreamedAUdioSource, which is included in UniMic
Inheritance
System.Object
StreamedAudioSourceOutput
Implements
Namespace: Adrenak.UniVoice.Outputs
Assembly: cs.temp.dll.dll
Syntax
public class StreamedAudioSourceOutput : MonoBehaviour, IAudioOutput, IDisposable
Constructors
StreamedAudioSourceOutput()
Declaration
[Obsolete("Cannot use new keyword to create an instance. Use the .New() method instead")]
public StreamedAudioSourceOutput()
Properties
Stream
Declaration
public StreamedAudioSource Stream { get; }
Property Value
| Type | Description |
|---|---|
| StreamedAudioSource |
Methods
Dispose()
Disposes the instance by deleting the GameObject of the component.
Declaration
public void Dispose()
Feed(AudioFrame)
Feeds an incoming
Declaration
public void Feed(AudioFrame frame)
Parameters
| Type | Name | Description |
|---|---|---|
| AudioFrame | frame |
New()
Creates a new instance using the dependencies.
Declaration
public static StreamedAudioSourceOutput New()
Returns
| Type | Description |
|---|---|
| StreamedAudioSourceOutput |