1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Pause audio when game is paused

Fixes #68880

Implementation based on #99555
This commit is contained in:
Pablo Andres Fuente
2025-03-21 01:30:50 +01:00
parent 4fcd85551c
commit b0080500bd
2 changed files with 30 additions and 1 deletions

View File

@@ -185,6 +185,9 @@ private:
void _select_thread(int p_index);
bool debug_mute_audio = false;
bool audio_muted_on_break = false;
void _mute_audio_on_break(bool p_mute);
void _send_debug_mute_audio_msg(bool p_mute);
EditorDebuggerNode::CameraOverride camera_override;
@@ -206,6 +209,7 @@ private:
#ifndef DISABLE_DEPRECATED
void _msg_scene_inspect_object(uint64_t p_thread_id, const Array &p_data);
#endif // DISABLE_DEPRECATED
void _msg_scene_debug_mute_audio(uint64_t p_thread_id, const Array &p_data);
void _msg_servers_memory_usage(uint64_t p_thread_id, const Array &p_data);
void _msg_servers_drawn(uint64_t p_thread_id, const Array &p_data);
void _msg_stack_dump(uint64_t p_thread_id, const Array &p_data);