summaryrefslogtreecommitdiff
path: root/scene/audio
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2018-11-11 11:00:24 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2018-11-11 11:00:24 -0300
commit9c8449a3dba4715c96a2eaeed173194b38c60828 (patch)
treeb0e6468f4c896784721bc55bac9a2b03e67559a0 /scene/audio
parentd16ce4a8edb26fb4730c51405662479f7ebf6617 (diff)
Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop
Diffstat (limited to 'scene/audio')
-rw-r--r--scene/audio/audio_player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/audio/audio_player.cpp b/scene/audio/audio_player.cpp
index 64af7efb16..1d9d048fe1 100644
--- a/scene/audio/audio_player.cpp
+++ b/scene/audio/audio_player.cpp
@@ -219,6 +219,7 @@ void AudioStreamPlayer::seek(float p_seconds) {
void AudioStreamPlayer::stop() {
if (stream_playback.is_valid()) {
+ stream_playback->stop();
active = false;
set_process_internal(false);
}