Skip to content

CoreMIDI iOS xcode26.0 b2

Alex Soto edited this page Jun 24, 2025 · 1 revision

#CoreMIDI.framework

diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIMessages.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIMessages.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIMessages.h	2025-05-19 03:06:46
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMIDI.framework/Headers/MIDIMessages.h	2025-06-10 18:58:11
@@ -740,42 +740,17 @@
 } MIDIUniversalMessage;
 
 
-/*!
-	@typedef	MIDIEventVisitor
+/**
+A callback function which receives a single MIDIUniversalMessage.
 
-	@abstract	A callback function which receives a single MIDIUniversalMessage.
+This callback function is called by MIDIEventListForEachEvent on every UMP
+that has been parsed from a MIDIEventList. From the provided `MIDIUniversalMessage`
+the MIDI information can be accessed, e.g.:
 
-	@discussion
-		This callback function is called by MIDIEventListForEachEvent on every UMP
-		that has been parsed from a MIDIEventList. From the provided `MIDIUniversalMessage`
-		the MIDI information can be accessed, e.g.:
-		```
-		void myMIDIMessageVisitor(void* context, MIDITimeStamp timeStamp, MIDIUniversalMessage message) {
-			switch (message.type) {
-			case kMIDIMessageTypeSystem:
-				...
-			case kMIDIMessageTypeChannelVoice2:
-				switch (message.channelVoice2.status) {
-				case kMIDICVStatusNoteOff:
-					// access message.channelVoice2.note.number, etc.
-					...
-				case kMIDICVStatusNoteOn:
-					...
-				case kMIDICVStatusPerNotePitchBend:
-					...
-				}
-			}
-		}
-		```
-
-	@param		context
-		A context provided by the client via call to MIDIEventListForEachEvent.
-
-	@param		timeStamp
-		The timestamp of the current UMP.
-
-	@param		message
-		A filled MIDIUniversalMessage struct that has been parsed from a single UMP.
+- Parameters:
+ - context: A context provided by the client via call to MIDIEventListForEachEvent.
+ - timeStamp: The timestamp of the current UMP.
+ - message: A filled MIDIUniversalMessage struct that has been parsed from a single UMP.
 */
 typedef void (*MIDIEventVisitor)(void* context, MIDITimeStamp timeStamp, MIDIUniversalMessage message);
 
Clone this wiki locally