Skip to content

AudioToolbox macOS xcode13.0 beta5

Rachel Kang edited this page Aug 24, 2021 · 3 revisions

#AudioToolbox.framework https://github.com/xamarin/xamarin-macios/pull/12491

diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h	2021-07-22 14:30:54.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AUAudioUnit.h	2021-08-07 08:53:08.000000000 -0400
@@ -649,17 +649,6 @@
 */
 @property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray<NSString *> *MIDIOutputNames API_AVAILABLE(macos(10.13), ios(11.0), watchos(4.0), tvos(11.0));
 
-/*! @property	MIDIEventListOutputNames
-	@brief		The names of a plug-in's MIDI event list outputs.
-	@discussion
-		A plug-in may override this method to inform hosts about its MIDIEventList outputs. The size of the
-		array is the number of outputs the Audio Unit supports. Each item in the array is the name
-		of the MIDIEventList output at that index.
-
-		This is bridged to the v2 API property kAudioUnitProperty_MIDIOutputEventListCallbackInfo.
-*/
-@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSArray<NSString *> *MIDIEventListOutputNames API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos);
-
 /*!	@property	providesUserInterface
 	@brief		Specifies whether an audio unit provides UI (normally in the form of a view controller).
 	@discussion
diff -ruN /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h
--- /Applications/Xcode_13.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h	2021-07-22 14:18:03.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AudioToolbox.framework/Headers/AudioUnitProperties.h	2021-08-07 08:53:08.000000000 -0400
@@ -602,8 +602,8 @@
 						Access:				read
 
 						Used to determine how many MIDI output streams the audio unit can generate  (and the name for 
-						each of these outputs). Each MIDI output is a complete MIDI data stream, such as embodied by a 
-						MIDIEndpointRef in CoreMIDI.
+						each of these outputs). Each MIDI output is a complete MIDI or MIDIEventList data stream, such as embodied
+						by a  MIDIEndpointRef in CoreMIDI.
 						
 						The host can retrieve an array of CFStringRefs published by the audio unit, where :
 							- the size of the array is the number of MIDI Outputs the Audio Unit supports
@@ -790,29 +790,6 @@
 						Indicates whether an Audio Unit is loaded out-of-process, which might happen
 						at the request of the host or when loading in-process is not possible.
 
-	@constant		kAudioUnitProperty_MIDIOutputEventListCallbackInfo
-						Scope:                       Global
-						Value Type:               CFArrayRef
-						Access:                     read
-
-						Used to determine how many MIDIEventList output streams the audio unit can generate (and the name for
-						each of these outputs). Each MIDIEventList output is a complete MIDI data stream, such as embodied by a
-						MIDIEndpointRef in CoreMIDI.
-
-						The host can retrieve an array of CFStringRefs published by the Audio Unit, where :
-						 - the size of the array is the number of MIDIEventList Outputs the audio unit supports
-						 - each item in the array is the name for that output at that index
-
-						The host owns this array and its elements and should release them when it is finished.
-
-						Once the host has determined that the Audio Unit supports this feature, it can then provide a
-						callback, through which the audio unit can send the MIDIEventList data.
-						See the documentation for the kAudioUnitProperty_MIDIOutputEventListCallback property.
-
-						Note: The CFArrayRef's returned from this property must return a +1 reference.
-
-						Compare to property kAudioUnitProperty_MIDIOutputCallbackInfo.
-
     @constant        kAudioUnitProperty_MIDIOutputEventListCallback
 						Scope:                Global
 						Value Type:         block: void (^)(AUEventSampleTime, const struct MIDIEventList *)
@@ -843,7 +820,7 @@
 						There is no implied or expected association between the number (or position) of an audio unit's
 						audio or MIDI outputs.
  
-						Compare to property kAudioUnitProperty_MIDIOutputEventCallback.
+						Compare to property kAudioUnitProperty_MIDIOutputCallback.
  
     @constant        kAudioUnitProperty_AudioUnitMIDIProtocol
 						Scope:                Global
@@ -933,11 +910,10 @@
 	kAudioUnitProperty_MIDIOutputCallbackInfo       = 47,
 	kAudioUnitProperty_MIDIOutputCallback           = 48,
 
-	kAudioUnitProperty_MIDIOutputEventListCallbackInfo  = 63,
-    kAudioUnitProperty_MIDIOutputEventListCallback      = 64,
+    kAudioUnitProperty_MIDIOutputEventListCallback      = 63,
 
-    kAudioUnitProperty_AudioUnitMIDIProtocol            = 65,
-    kAudioUnitProperty_HostMIDIProtocol                 = 66
+    kAudioUnitProperty_AudioUnitMIDIProtocol            = 64,
+    kAudioUnitProperty_HostMIDIProtocol                 = 65
 };
 
 #if AU_SUPPORT_INTERAPP_AUDIO
Clone this wiki locally