diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-06-29 18:46:43 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-06-29 18:46:43 -0300 |
commit | ac6257bf8ad51f0980e023ac4d28e8cd14fd606b (patch) | |
tree | d2b4c5398b0089036071df43969966f78efcd6e5 /scene/audio/stream_player.h | |
parent | 449a28e75a57a52df50db2027bfbe18ba3d4a0ac (diff) |
only call finished signal when it really finishes, closes #5222
Diffstat (limited to 'scene/audio/stream_player.h')
-rw-r--r-- | scene/audio/stream_player.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/audio/stream_player.h b/scene/audio/stream_player.h index 475139c2a4..4facc3c816 100644 --- a/scene/audio/stream_player.h +++ b/scene/audio/stream_player.h @@ -71,6 +71,8 @@ class StreamPlayer : public Node { AudioRBResampler resampler; + void _do_stop(); + bool _play; void _set_play(bool p_play); bool _get_play() const; |