summaryrefslogtreecommitdiffstats
path: root/scene/audio/audio_stream_player.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/audio/audio_stream_player.h')
-rw-r--r--scene/audio/audio_stream_player.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/audio/audio_stream_player.h b/scene/audio/audio_stream_player.h
index d1f6fca2ee..c0c25aa983 100644
--- a/scene/audio/audio_stream_player.h
+++ b/scene/audio/audio_stream_player.h
@@ -33,6 +33,7 @@
#include "core/templates/safe_refcount.h"
#include "scene/main/node.h"
+#include "scene/scene_string_names.h"
#include "servers/audio/audio_stream.h"
class AudioStreamPlayer : public Node {
@@ -54,7 +55,7 @@ private:
float pitch_scale = 1.0;
float volume_db = 0.0;
bool autoplay = false;
- StringName bus = SNAME("Master");
+ StringName bus = SceneStringNames::get_singleton()->Master;
int max_polyphony = 1;
MixTarget mix_target = MIX_TARGET_STEREO;