Version: 2020.1
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.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答