Function createSoundListener

  • Create a sound listener depending on browser support.

    Parameters

    Returns SoundListener

    A new SoundListener instance.

    Throws

    When neither standard nor legacy support was detected for AudioListener.