Browse Source

Remove superfluous non-working sample playing check

Adam Scott 1 year ago
parent
commit
e8212f1849
1 changed files with 0 additions and 3 deletions
  1. 0 3
      scene/audio/audio_stream_player_internal.cpp

+ 0 - 3
scene/audio/audio_stream_player_internal.cpp

@@ -276,9 +276,6 @@ bool AudioStreamPlayerInternal::is_playing() const {
 		if (AudioServer::get_singleton()->is_playback_active(playback)) {
 			return true;
 		}
-		if (AudioServer::get_singleton()->is_sample_playback_active(playback)) {
-			return true;
-		}
 	}
 	return false;
 }