From 087329074d6b755c5be0ee3837cdd3336ddef2af Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Sun, 8 Jul 2018 21:30:26 -0300 Subject: Improved stream paused fade code --- scene/2d/audio_stream_player_2d.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scene/2d/audio_stream_player_2d.h') diff --git a/scene/2d/audio_stream_player_2d.h b/scene/2d/audio_stream_player_2d.h index b508de3171..e68e6eeca5 100644 --- a/scene/2d/audio_stream_player_2d.h +++ b/scene/2d/audio_stream_player_2d.h @@ -71,9 +71,10 @@ private: float volume_db; float pitch_scale; - float stream_paused_fade; bool autoplay; bool stream_paused; + bool stream_paused_fade_in; + bool stream_paused_fade_out; StringName bus; void _mix_audio(); -- cgit v1.2.3