Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AudioSettings.speakerMode

Switch to Manual
public static AudioSpeakerMode speakerMode;

Description

Gets the current speaker mode. Default is 2 channel stereo.

Setting the speaker mode from scripts is no longer supported. Use AudioSettings.GetConfiguration and AudioSettings.Reset to adjust AudioSettings.

Did you find this page useful? Please give it a rating: