Browse Source

Remove superfluous non-working sample playing check

Adam Scott 1 năm trước cách đây
mục cha
commit
e8212f1849
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  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;
 }