Search Results for

    Show / Hide Table of Contents

    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
    Namespace: RenderHeads.Media.AVProVideo
    Assembly: cs.temp.dll.dll
    Syntax
    public class AudioOutput : MonoBehaviour

    Properties

    ChannelMask

    Declaration
    public int ChannelMask { get; set; }
    Property Value
    Type Description
    System.Int32

    OutputMode

    Declaration
    public AudioOutput.AudioOutputMode OutputMode { get; set; }
    Property Value
    Type Description
    AudioOutput.AudioOutputMode

    Player

    Declaration
    public MediaPlayer Player { get; set; }
    Property Value
    Type Description
    MediaPlayer

    Methods

    ChangeMediaPlayer(MediaPlayer)

    Declaration
    public void ChangeMediaPlayer(MediaPlayer newPlayer)
    Parameters
    Type Name Description
    MediaPlayer newPlayer

    GetAudioSource()

    Declaration
    public AudioSource GetAudioSource()
    Returns
    Type Description
    AudioSource

    SetAudioSource(AudioSource)

    Declaration
    public void SetAudioSource(AudioSource source)
    Parameters
    Type Name Description
    AudioSource source
    In This Article