文档

Unity Engine

Unity Engine

AudioSettings.AudioConfigurationChangeHandler

A delegate called whenever the global audio settings are changed, either by AudioSettings.Reset or by an external device change such as the OS control panel changing the sample rate or because the default output device was changed, for example when plugging in an HDMI monitor or a USB headset.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Delegate
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public delegate void AudioSettings.AudioConfigurationChangeHandler(bool deviceWasChanged)

Remarks

See AudioSettings.Reset for an example.