API reference

IAudioSystem Interface

An interface for an audio system that can be used to return custom audio clip streams and audio players on specific gameObjects

Methods

GetAudioClipStream ( channels , sampleRate )
Returns a new audio clip stream for audio stream handling
Signature
IAudioClipStream Meta.Voice.Audio.IAudioSystem.GetAudioClipStream(int channels, int sampleRate)
Parameters
channels: int  Number of channels within audio
sampleRate: int  Desired rate of playback
GetAudioPlayer ( root )
Returns a new audio player for managing audio clip stream playback states
Signature
IAudioPlayer Meta.Voice.Audio.IAudioSystem.GetAudioPlayer(GameObject root)
Parameters
root: GameObject  The gameobject to add the player to if applicable