Sets or gets the current speaker mode. Default is 2 channel stereo.
// To set the speaker mode to that of the system settings. AudioSettings.speakerMode = AudioSettings.driverCaps;
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { AudioSettings.speakerMode = AudioSettings.driverCaps; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: AudioSettings.speakerMode = AudioSettings.driverCaps