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

Properties

ClipSettings : AudioClipSettings
[Get][Set]
The clip generation settings to be used for all clip generations
Signature
AudioClipSettings Meta.Voice.Audio.IAudioSystem.ClipSettings

Methods

GetAudioClipStream ()
Returns a new audio clip stream for audio stream handling
Signature
IAudioClipStream Meta.Voice.Audio.IAudioSystem.GetAudioClipStream()
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
PreloadClipStreams ( total )
A method for preloading clip streams into a cache
Signature
void Meta.Voice.Audio.IAudioSystem.PreloadClipStreams(int total)
Parameters
total: int  Total clip streams to be preloaded
Returns
void