summaryrefslogtreecommitdiffstats
path: root/scene/2d/audio_stream_player_2d.h
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2018-07-08 21:30:26 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2018-07-09 21:58:33 -0300
commit087329074d6b755c5be0ee3837cdd3336ddef2af (patch)
tree66e55c1bd622a6ed2bf4c19162226fe2a2af9e1b /scene/2d/audio_stream_player_2d.h
parente2b7a68db450d0d48d005719731619a49f96b7c8 (diff)
downloadredot-engine-087329074d6b755c5be0ee3837cdd3336ddef2af.tar.gz
Improved stream paused fade code
Diffstat (limited to 'scene/2d/audio_stream_player_2d.h')
-rw-r--r--scene/2d/audio_stream_player_2d.h3
1 files changed, 2 insertions, 1 deletions
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();