summaryrefslogtreecommitdiff
path: root/scene/audio/audio_player.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/audio/audio_player.h')
-rw-r--r--scene/audio/audio_player.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/audio/audio_player.h b/scene/audio/audio_player.h
index 21189aea6d..c42f191589 100644
--- a/scene/audio/audio_player.h
+++ b/scene/audio/audio_player.h
@@ -56,7 +56,9 @@ private:
float mix_volume_db;
float pitch_scale;
float volume_db;
+ float stream_paused_fade;
bool autoplay;
+ bool stream_paused;
StringName bus;
MixTarget mix_target;
@@ -100,6 +102,9 @@ public:
void set_mix_target(MixTarget p_target);
MixTarget get_mix_target() const;
+ void set_stream_paused(bool p_pause);
+ bool get_stream_paused() const;
+
AudioStreamPlayer();
~AudioStreamPlayer();
};