Преглед изворни кода

Remove superfluous non-working sample playing check

Adam Scott пре 1 година
родитељ
комит
e8212f1849
1 измењених фајлова са 0 додато и 3 уклоњено
  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;
 }