Browse Source

Fix AudioStreamPlayback::stop not being called on AudioStreamPlayer::stop

Marcelo Fernandez 6 years ago
parent
commit
9c8449a3db
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scene/audio/audio_player.cpp

+ 1 - 0
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);
 	}