mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-21 03:16:54 +01:00
Relintai
40a9b72afb
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
|
||
---|---|---|
.. | ||
audio | ||
physics | ||
physics_2d | ||
rendering | ||
audio_server.cpp | ||
audio_server.h | ||
navigation_2d_server.cpp | ||
navigation_2d_server.h | ||
navigation_server.cpp | ||
navigation_server.h | ||
physics_2d_server.cpp | ||
physics_2d_server.h | ||
physics_server.cpp | ||
physics_server.h | ||
register_server_types.cpp | ||
register_server_types.h | ||
rendering_server_callbacks.cpp | ||
rendering_server_callbacks.h | ||
rendering_server.cpp | ||
rendering_server.h | ||
SCsub | ||
server_wrap_mt_common.h |