From 9c8449a3dba4715c96a2eaeed173194b38c60828 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Sun, 11 Nov 2018 11:00:24 -0300 Subject: Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop --- scene/audio/audio_player.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/audio') 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); } -- cgit v1.2.3