Commit Graph

6 Commits

Author SHA1 Message Date
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
2cd4e4d828 Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
04feb63860 Moved Engine and projectSettings. 2022-08-17 15:35:28 +02:00
Bartłomiej T. Listwon
fab0dad4bb Fix crash in AudioServer when switching audio devices with different audio channels count (connecting PS5 controller, bluetooth 5.1 headphones etc.) 2022-07-25 18:02:52 +02:00
1e6a70c77a Fix uninitialized variable warnings. 2022-03-16 10:15:33 +01:00
49f8e8c398 Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00