Class AudioOutput
Audio is grabbed from the MediaPlayer and rendered via Unity AudioSource
This allows audio to have 3D spatial control, effects applied and to be spatialised for VR
Currently supported on Windows and UWP (Media Foundation API only), macOS, iOS, tvOS and Android (ExoPlayer API only)
Inheritance
System.Object
AudioOutput
Assembly: cs.temp.dll.dll
public class AudioOutput : MonoBehaviour
Properties
Declaration
public int ChannelMask { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public AudioOutput.AudioOutputMode OutputMode { get; set; }
Property Value
Declaration
public MediaPlayer Player { get; set; }
Property Value
Methods
Declaration
public void ChangeMediaPlayer(MediaPlayer newPlayer)
Parameters
Declaration
public AudioSource GetAudioSource()
Returns
Type |
Description |
AudioSource |
|