1
0
Fork 0
godot/servers/audio
lawnjelly d164443cd3 Add ability to mute AudioServer.
Adds the option to change the audio driver to the Dummy driver and back at runtime, with a set of MuteState flags - Disabled (user control), Silence (period of silence), Focus Loss (when app is not in focus), and Paused (when app is paused).

Control for the flags is added for the editor in EditorSettings, and for the project in ProjectSettings.

Editor defaults to muted (Dummy driver) when there is no audio output, and automatically switches to active on output. This significantly reduces CPU usage.
2025-06-10 16:53:58 +01:00
..
effects Fix AudioEffectRecord circular reference 2023-03-18 19:15:39 -04:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
audio_driver_dummy.cpp Add ability to mute AudioServer. 2025-06-10 16:53:58 +01:00
audio_driver_dummy.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio_effect.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio_effect.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio_filter_sw.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio_filter_sw.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio_rb_resampler.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio_rb_resampler.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio_stream.cpp Add GLOBAL_GET cached macros. 2025-03-18 16:28:40 +00:00
audio_stream.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00