Description
The ResetToDefault
method is a static method of the Sandbox.Audio.Mixer
class. It resets the audio mixer settings to their default values. This can be useful when you want to revert any changes made to the mixer and return to the initial configuration.
Usage
To use the ResetToDefault
method, simply call it on the Mixer
class. Since it is a static method, you do not need to instantiate a Mixer
object to use it.
Example
// Reset all mixer settings to their default values
Sandbox.Audio.Mixer.ResetToDefault();