pandemonium_engine/servers/audio
Relintai 40a9b72afb Ported from godot-plus: 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.
- lawnjelly
cedb01fb84
2023-04-10 19:42:23 +02:00
..
effects Fix Editor hanging if audiostream's pitch_scale is NaN 2023-03-12 14:14:29 +01:00
audio_driver_dummy.cpp Ported from godot-plus: Add ability to mute AudioServer. 2023-04-10 19:42:23 +02:00
audio_driver_dummy.h
audio_effect.cpp
audio_effect.h
audio_filter_sw.cpp
audio_filter_sw.h
audio_rb_resampler.cpp
audio_rb_resampler.h
audio_stream.cpp Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
audio_stream.h Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
SCsub