summaryrefslogtreecommitdiff
path: root/scene/audio/stream_player.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-29 18:46:43 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-29 18:46:43 -0300
commitac6257bf8ad51f0980e023ac4d28e8cd14fd606b (patch)
treed2b4c5398b0089036071df43969966f78efcd6e5 /scene/audio/stream_player.h
parent449a28e75a57a52df50db2027bfbe18ba3d4a0ac (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.h2
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;