Skip to content

CoreAudio iOS xcode27.0 b5

Alex Soto edited this page Aug 10, 2026 · 1 revision

#CoreAudio.framework

diff -ruN /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioServerPlugIn.h /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioServerPlugIn.h
--- /Applications/Xcode_27.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioServerPlugIn.h	2026-07-10 03:28:37
+++ /Applications/Xcode_27.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioServerPlugIn.h	2026-08-04 01:39:20
@@ -1166,12 +1166,14 @@
     @function       AudioServerPlugInRegisterMediaDeviceExtension
     @abstract       This is used to register an AudioServerPlugin interface to host a driver
                     for a remote media device to be used in conjunction with
-                    SystemMediaCastingExtension.
+                    <doc://com.apple.documentation/documentation/mediadevice/creating-a-media-device-extension>.
     @discussion     AudioServerPlugIns that are registered this way are restricted to presenting
                     a single output audio device, which must have a transport type of
-                    kAudioDeviceTransportTypeRemoteScreen or
-                    kAudioDeviceTransportTypeRemoteStreaming. If these conditions are not met,
-                    the registration will fail with a result of kAudioHardwareIllegalOperationError.
+                    ``kAudioDeviceTransportTypeRemoteScreen`` or
+                    ``kAudioDeviceTransportTypeRemoteStreaming``. If these conditions are not met,
+                    the registration will fail with a result of ``kAudioHardwareIllegalOperationError``.
+                    It is also expected that the device UID (``kAudioDevicePropertyDeviceUID``)
+                    matches the <doc://com.apple.documentation/documentation/mediadevice/mediaoutputdevice>'s <doc://com.apple.documentation/documentation/mediadevice/mediaoutputdevice/id>.
     @param          inPlugIn
                         The plug-in interface that will be called by the system.
     @param          interruptionHandler
@@ -1180,7 +1182,7 @@
     @result         An OSStatus indicating success or failure.
 */
 extern OSStatus
-AudioServerPlugInRegisterMediaDeviceExtension(AudioServerPlugInDriverRef __nullable inPlugIn, void (^ __nullable interruptionHandler)()) API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(macos, watchos, tvos);
+AudioServerPlugInRegisterMediaDeviceExtension(AudioServerPlugInDriverRef __nullable inPlugIn, void (^ __nullable interruptionHandler)()) API_AVAILABLE(ios(27.0)) API_UNAVAILABLE(macos, watchos, tvos, visionos);
 
 //==================================================================================================
 

Clone this wiki locally