diff options
author | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-07-08 21:30:26 -0300 |
---|---|---|
committer | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-07-09 21:58:33 -0300 |
commit | 087329074d6b755c5be0ee3837cdd3336ddef2af (patch) | |
tree | 66e55c1bd622a6ed2bf4c19162226fe2a2af9e1b /scene/2d/audio_stream_player_2d.h | |
parent | e2b7a68db450d0d48d005719731619a49f96b7c8 (diff) | |
download | redot-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.h | 3 |
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(); |