Select your preferred scripting language. All code snippets will be displayed in this language.
struct in UnityEngine
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.
CloseSpecifies the current properties or desired properties to be set for the audio system.
See AudioSettings.Reset for an example.
dspBufferSize | The length of the DSP buffer in samples determining the latency of sounds by the audio output device. |
numRealVoices | The current maximum number of simultaneously audible sounds in the game. |
numVirtualVoices | The maximum number of managed sounds in the game. Beyond this limit sounds will simply stop playing. |
sampleRate | The current sample rate of the audio output device used. |
speakerMode | The current speaker mode used by the audio output device. |