From 60beefad8e1e47c48568e32d21f8c9fec989be47 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 20 May 2022 14:54:06 -0700
Subject: [PATCH] Removed obsolete code (from before CoreAudio implementation)
---
src/music.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/src/music.c b/src/music.c
index eb9fa8a7..76dc245c 100644
--- a/src/music.c
+++ b/src/music.c
@@ -821,17 +821,6 @@ static int music_internal_play(Mix_Music *music, int play_count, double position
{
int retval = 0;
-#if defined(__MACOSX__) && defined(MID_MUSIC_NATIVE)
- /* This fixes a bug with native MIDI on Mac OS X, where you
- can't really stop and restart MIDI from the audio callback.
- */
- if (music == music_playing && music->api == MIX_MUSIC_NATIVEMIDI) {
- /* Just a seek suffices to restart playing */
- music_internal_position(position);
- return 0;
- }
-#endif
-
/* Note the music we're playing */
if (music_playing) {
music_internal_halt();