diff options
author | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-11-11 11:00:24 -0300 |
---|---|---|
committer | Marcelo Fernandez <marcelofg55@gmail.com> | 2018-11-11 11:00:24 -0300 |
commit | 9c8449a3dba4715c96a2eaeed173194b38c60828 (patch) | |
tree | b0e6468f4c896784721bc55bac9a2b03e67559a0 | |
parent | d16ce4a8edb26fb4730c51405662479f7ebf6617 (diff) |
Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop
-rw-r--r-- | scene/audio/audio_player.cpp | 1 |
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); } |