SDL: coreaudio: Patched to compile, again, on iOS.

From fe6c1f113402cbdf708e14533c18710f371b52de Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 27 Apr 2026 11:46:15 -0400
Subject: [PATCH] coreaudio: Patched to compile, again, on iOS.

---
 src/audio/coreaudio/SDL_coreaudio.m | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/audio/coreaudio/SDL_coreaudio.m b/src/audio/coreaudio/SDL_coreaudio.m
index c7f6209245934..5342d3d28d98f 100644
--- a/src/audio/coreaudio/SDL_coreaudio.m
+++ b/src/audio/coreaudio/SDL_coreaudio.m
@@ -406,7 +406,6 @@ static bool UpdateAudioSession(SDL_AudioDevice *device, bool open, bool allow_pl
 {
     @autoreleasepool {
         AVAudioSession *session = [AVAudioSession sharedInstance];
-        NSNotificationCenter *center = [NSNotificationCenter defaultCenter];
 
         NSString *category = AVAudioSessionCategoryPlayback;
         NSString *mode = AVAudioSessionModeDefault;
@@ -984,7 +983,7 @@ static bool COREAUDIO_OpenDevice(SDL_AudioDevice *device)
     [center addObserver:listener
                selector:@selector(audioSessionInterruption:)
                    name:AVAudioSessionInterruptionNotification
-                 object:session];
+                 object:[AVAudioSession sharedInstance]];
 
     /* An interruption end notification is not guaranteed to be sent if
        we were previously interrupted... resuming if needed when the app