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

Overview

Public Member Functions

GetAudioClipStream
( int channels,
int sampleRate )
Returns a new audio clip stream for audio stream handling
GetAudioPlayer
( GameObject root )
Returns a new audio player for managing audio clip stream playback states

Details

Member Functions

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