CoreMIDI iOS 10.3 to 11.0 API Differences

MIDIDriver.h
Declaration
FromOSStatus MIDIDeviceCreate(MIDIDriverRef owner, CFStringRef name, CFStringRef manufacturer, CFStringRef model, MIDIDeviceRef *outDevice)
ToOSStatus MIDIDeviceCreate(MIDIDriverRef _Nullable owner, CFStringRef _Nonnull name, CFStringRef _Nonnull manufacturer, CFStringRef _Nonnull model, MIDIDeviceRef * _Nonnull outDevice)

Declaration
FromOSStatus MIDIEndpointSetRefCons(MIDIEndpointRef endpt, void *ref1, void *ref2)
ToOSStatus MIDIEndpointSetRefCons(MIDIEndpointRef endpt, void * _Nullable ref1, void * _Nullable ref2)

Declaration
FromOSStatus MIDIEndpointGetRefCons(MIDIEndpointRef endpt, void **ref1, void **ref2)
ToOSStatus MIDIEndpointGetRefCons(MIDIEndpointRef endpt, void * _Nonnull * _Nullable ref1, void * _Nonnull * _Nullable ref2)

Declaration
FromCFRunLoopRef MIDIGetDriverIORunLoop(void)
ToCFRunLoopRef _Nonnull MIDIGetDriverIORunLoop(void)

Declaration
FromMIDIDeviceListRef MIDIGetDriverDeviceList(MIDIDriverRef driver)
ToMIDIDeviceListRef MIDIGetDriverDeviceList(MIDIDriverRef _Nonnull driver)

MIDIServices.h
Declaration
FromItemCount MIDIGetNumberOfDevices(void)
ToItemCount MIDIGetNumberOfDevices(void)

Declaration
FromItemCount MIDIGetNumberOfSources(void)
ToItemCount MIDIGetNumberOfSources(void)

Declaration
FromItemCount MIDIGetNumberOfDestinations(void)
ToItemCount MIDIGetNumberOfDestinations(void)

Declaration
FromItemCount MIDIGetNumberOfExternalDevices(void)
ToItemCount MIDIGetNumberOfExternalDevices(void)

Modified MIDIRestart()
Declaration
FromOSStatus MIDIRestart(void)
ToOSStatus MIDIRestart(void)