summaryrefslogtreecommitdiff
path: root/scene/2d/audio_stream_player_2d.h
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2019-02-17 11:20:10 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2019-02-17 11:20:10 -0300
commitb31e1b84fca11eb40d5639698eeeb761775898eb (patch)
tree17cba8992baa5084c10db9d6381d091896a34bc7 /scene/2d/audio_stream_player_2d.h
parent623f7b64ae7ab075fe9cc7f5b7b2c777e774f81d (diff)
Fix AudioStreams::stop possibly causing a small noise
Diffstat (limited to 'scene/2d/audio_stream_player_2d.h')
-rw-r--r--scene/2d/audio_stream_player_2d.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/scene/2d/audio_stream_player_2d.h b/scene/2d/audio_stream_player_2d.h
index cc00b59010..caf5c6ee49 100644
--- a/scene/2d/audio_stream_player_2d.h
+++ b/scene/2d/audio_stream_player_2d.h
@@ -73,8 +73,9 @@ private:
float pitch_scale;
bool autoplay;
bool stream_paused;
- bool stream_paused_fade_in;
- bool stream_paused_fade_out;
+ bool stream_fade_in;
+ bool stream_fade_out;
+ bool stream_stop;
StringName bus;
void _mix_audio();