summaryrefslogtreecommitdiffstats
path: root/scene/2d/audio_stream_player_2d.h
diff options
context:
space:
mode:
authorMewPurPur <mew.pur.pur@gmail.com>2023-09-14 13:39:23 +0300
committerMewPurPur <mew.pur.pur@gmail.com>2023-09-15 13:02:03 +0300
commitf29b6e73c2985a97c611dbdeb2403c0467de08cc (patch)
tree587f2411928747b56fe90283657703eaca9833fc /scene/2d/audio_stream_player_2d.h
parent5c43e4c1efc85856a4e918bc67e1266657b9110c (diff)
downloadredot-engine-f29b6e73c2985a97c611dbdeb2403c0467de08cc.tar.gz
Add a bus_renamed AudioServer signal
Diffstat (limited to 'scene/2d/audio_stream_player_2d.h')
-rw-r--r--scene/2d/audio_stream_player_2d.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/2d/audio_stream_player_2d.h b/scene/2d/audio_stream_player_2d.h
index a4677bef36..0766f2f77d 100644
--- a/scene/2d/audio_stream_player_2d.h
+++ b/scene/2d/audio_stream_player_2d.h
@@ -75,7 +75,9 @@ private:
StringName _get_actual_bus();
void _update_panning();
- void _bus_layout_changed();
+
+ void _on_bus_layout_changed();
+ void _on_bus_renamed(int p_bus_index, const StringName &p_old_name, const StringName &p_new_name);
static void _listener_changed_cb(void *self) { reinterpret_cast<AudioStreamPlayer2D *>(self)->force_update_panning = true; }