Version: 2017.3

AudioSettings.driverCapabilities

切换到手册
public static AudioSpeakerMode driverCapabilities ;

描述

返回当前音频驱动程序的扬声器模式功能。(只读)

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void Example() { AudioSettings.speakerMode = AudioSettings.driverCapabilities; } }