AudioSettings.AudioConfigurationChangeHandler

Switch to Manual

Declaration

public delegate void AudioConfigurationChangeHandler(bool deviceWasChanged);

Parameters

deviceWasChanged True if the change was caused by an device change.

Description

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.

See AudioSettings.Reset for an example.


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