Version: 2020.2
LanguageEnglish
  • C#

AudioSpeakerMode

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

These are speaker types defined for use with AudioSettings.speakerMode.

Your project's default speaker mode can be set in the Audiomanager through Edit->Project Settings->Audio.

See Also: AudioSettings, Audio Manager.

Properties

MonoChannel count is set to 1. The speakers are monaural.
StereoChannel count is set to 2. The speakers are stereo. This is the editor default.
QuadChannel count is set to 4. 4 speaker setup. This includes front left, front right, rear left, rear right.
SurroundChannel count is set to 5. 5 speaker setup. This includes front left, front right, center, rear left, rear right.
Mode5point1Channel count is set to 6. 5.1 speaker setup. This includes front left, front right, center, rear left, rear right and a subwoofer.
Mode7point1Channel count is set to 8. 7.1 speaker setup. This includes front left, front right, center, rear left, rear right, side left, side right and a subwoofer.
PrologicChannel count is set to 2. Stereo output, but data is encoded in a way that is picked up by a Prologic/Prologic2 decoder and split into a 5.1 speaker setup.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961