CoreMIDI Changes for Swift
CoreMIDI
Removed MIDIDriverInterface.init(_reserved: UnsafeMutablePointer<Void>, QueryInterface: CFunctionPointer<((UnsafeMutablePointer<Void>, REFIID, UnsafeMutablePointer<LPVOID>) -> HRESULT)>, AddRef: CFunctionPointer<((UnsafeMutablePointer<Void>) -> ULONG)>, Release: CFunctionPointer<((UnsafeMutablePointer<Void>) -> ULONG)>, FindDevices: CFunctionPointer<((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)>, Start: CFunctionPointer<((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)>, Stop: CFunctionPointer<((MIDIDriverRef) -> OSStatus)>, Configure: CFunctionPointer<((MIDIDriverRef, MIDIDeviceRef) -> OSStatus)>, Send: CFunctionPointer<((MIDIDriverRef, UnsafePointer<MIDIPacketList>, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)>, EnableSource: CFunctionPointer<((MIDIDriverRef, MIDIEndpointRef, Boolean) -> OSStatus)>, Flush: CFunctionPointer<((MIDIDriverRef, MIDIEndpointRef, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)>, Monitor: CFunctionPointer<((MIDIDriverRef, MIDIEndpointRef, UnsafePointer<MIDIPacketList>) -> OSStatus)>)
Removed MIDIIOErrorNotification.init(messageID: MIDINotificationMessageID, messageSize: UInt32, driverDevice: MIDIDeviceRef, errorCode: OSStatus)
Removed MIDIObjectAddRemoveNotification.init(messageID: MIDINotificationMessageID, messageSize: UInt32, parent: MIDIObjectRef, parentType: MIDIObjectType, child: MIDIObjectRef, childType: MIDIObjectType)
Removed MIDIObjectPropertyChangeNotification.init()
Removed MIDIObjectPropertyChangeNotification.init(messageID: MIDINotificationMessageID, messageSize: UInt32, object: MIDIObjectRef, objectType: MIDIObjectType, propertyName: Unmanaged<CFString>!)
Removed MIDISysexSendRequest.init()
Removed MIDISysexSendRequest.init(destination: MIDIEndpointRef, data: UnsafePointer<UInt8>, bytesToSend: UInt32, complete: Boolean, reserved: (UInt8, UInt8, UInt8), completionProc: MIDICompletionProc, completionRefCon: UnsafeMutablePointer<Void>)
Removed kMIDIControlType_14Bit
Removed kMIDIControlType_14BitNRPN
Removed kMIDIControlType_14BitRPN
Removed kMIDIControlType_7Bit
Removed kMIDIControlType_7BitNRPN
Removed kMIDIControlType_7BitRPN
Removed kMIDIMsgIOError
Removed kMIDIMsgObjectAdded
Removed kMIDIMsgObjectRemoved
Removed kMIDIMsgPropertyChanged
Removed kMIDIMsgSerialPortOwnerChanged
Removed kMIDIMsgSetupChanged
Removed kMIDIMsgThruConnectionsChanged
Removed kMIDIObjectType_Destination
Removed kMIDIObjectType_Device
Removed kMIDIObjectType_Entity
Removed kMIDIObjectType_ExternalDestination
Removed kMIDIObjectType_ExternalDevice
Removed kMIDIObjectType_ExternalEntity
Removed kMIDIObjectType_ExternalSource
Removed kMIDIObjectType_Other
Removed kMIDIObjectType_Source
Removed kMIDITransform_Add
Removed kMIDITransform_FilterOut
Removed kMIDITransform_MapControl
Removed kMIDITransform_MapValue
Removed kMIDITransform_MaxValue
Removed kMIDITransform_MinValue
Removed kMIDITransform_None
Removed kMIDITransform_Scale
Removed MIDINotificationMessageID
Removed MIDIObjectType
Removed MIDITransformControlType
Removed MIDITransformType
Added MIDIDriverInterface.init(_reserved: UnsafeMutablePointer<Void>, QueryInterface: ((UnsafeMutablePointer<Void>, REFIID, UnsafeMutablePointer<LPVOID>) -> HRESULT)!, AddRef: ((UnsafeMutablePointer<Void>) -> ULONG)!, Release: ((UnsafeMutablePointer<Void>) -> ULONG)!, FindDevices: ((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)!, Start: ((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)!, Stop: ((MIDIDriverRef) -> OSStatus)!, Configure: ((MIDIDriverRef, MIDIDeviceRef) -> OSStatus)!, Send: ((MIDIDriverRef, UnsafePointer<MIDIPacketList>, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)!, EnableSource: ((MIDIDriverRef, MIDIEndpointRef, DarwinBoolean) -> OSStatus)!, Flush: ((MIDIDriverRef, MIDIEndpointRef, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)!, Monitor: ((MIDIDriverRef, MIDIEndpointRef, UnsafePointer<MIDIPacketList>) -> OSStatus)!)
Added MIDIIOErrorNotification.init(messageID: MIDINotificationMessageID, messageSize: UInt32, driverDevice: MIDIDeviceRef, errorCode: OSStatus)
Added MIDIObjectAddRemoveNotification.init(messageID: MIDINotificationMessageID, messageSize: UInt32, parent: MIDIObjectRef, parentType: MIDIObjectType, child: MIDIObjectRef, childType: MIDIObjectType)
Added MIDIObjectType [enum]
Added MIDIObjectType.Device
Added MIDIObjectType.Entity
Added MIDIObjectType.Other
Added MIDIObjectType.Source
Added MIDITransformType [enum]
Added MIDITransformType.Add
Added MIDITransformType.None
Added MIDITransformType.Scale
Added MIDINotifyBlock
Added MIDIReadBlock
Modified MIDIControlTransform.init(controlType: MIDITransformControlType, remappedControlType: MIDITransformControlType, controlNumber: UInt16, transform: MIDITransformType, param: Int16)
| Introduction | |
|---|---|
| From | OS X 10.10.3 |
| To | OS X 10.11 |
Modified MIDIDriverInterface [struct]
| Declaration | |
|---|---|
| From | struct MIDIDriverInterface {
var _reserved: UnsafeMutablePointer<Void>
var QueryInterface: CFunctionPointer<((UnsafeMutablePointer<Void>, REFIID, UnsafeMutablePointer<LPVOID>) -> HRESULT)>
var AddRef: CFunctionPointer<((UnsafeMutablePointer<Void>) -> ULONG)>
var Release: CFunctionPointer<((UnsafeMutablePointer<Void>) -> ULONG)>
var FindDevices: CFunctionPointer<((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)>
var Start: CFunctionPointer<((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)>
var Stop: CFunctionPointer<((MIDIDriverRef) -> OSStatus)>
var Configure: CFunctionPointer<((MIDIDriverRef, MIDIDeviceRef) -> OSStatus)>
var Send: CFunctionPointer<((MIDIDriverRef, UnsafePointer<MIDIPacketList>, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)>
var EnableSource: CFunctionPointer<((MIDIDriverRef, MIDIEndpointRef, Boolean) -> OSStatus)>
var Flush: CFunctionPointer<((MIDIDriverRef, MIDIEndpointRef, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)>
var Monitor: CFunctionPointer<((MIDIDriverRef, MIDIEndpointRef, UnsafePointer<MIDIPacketList>) -> OSStatus)>
init()
init(_reserved _reserved: UnsafeMutablePointer<Void>, QueryInterface QueryInterface: CFunctionPointer<((UnsafeMutablePointer<Void>, REFIID, UnsafeMutablePointer<LPVOID>) -> HRESULT)>, AddRef AddRef: CFunctionPointer<((UnsafeMutablePointer<Void>) -> ULONG)>, Release Release: CFunctionPointer<((UnsafeMutablePointer<Void>) -> ULONG)>, FindDevices FindDevices: CFunctionPointer<((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)>, Start Start: CFunctionPointer<((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)>, Stop Stop: CFunctionPointer<((MIDIDriverRef) -> OSStatus)>, Configure Configure: CFunctionPointer<((MIDIDriverRef, MIDIDeviceRef) -> OSStatus)>, Send Send: CFunctionPointer<((MIDIDriverRef, UnsafePointer<MIDIPacketList>, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)>, EnableSource EnableSource: CFunctionPointer<((MIDIDriverRef, MIDIEndpointRef, Boolean) -> OSStatus)>, Flush Flush: CFunctionPointer<((MIDIDriverRef, MIDIEndpointRef, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)>, Monitor Monitor: CFunctionPointer<((MIDIDriverRef, MIDIEndpointRef, UnsafePointer<MIDIPacketList>) -> OSStatus)>)
} |
| To | struct MIDIDriverInterface {
var _reserved: UnsafeMutablePointer<Void>
var QueryInterface: ((UnsafeMutablePointer<Void>, REFIID, UnsafeMutablePointer<LPVOID>) -> HRESULT)!
var AddRef: ((UnsafeMutablePointer<Void>) -> ULONG)!
var Release: ((UnsafeMutablePointer<Void>) -> ULONG)!
var FindDevices: ((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)!
var Start: ((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)!
var Stop: ((MIDIDriverRef) -> OSStatus)!
var Configure: ((MIDIDriverRef, MIDIDeviceRef) -> OSStatus)!
var Send: ((MIDIDriverRef, UnsafePointer<MIDIPacketList>, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)!
var EnableSource: ((MIDIDriverRef, MIDIEndpointRef, DarwinBoolean) -> OSStatus)!
var Flush: ((MIDIDriverRef, MIDIEndpointRef, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)!
var Monitor: ((MIDIDriverRef, MIDIEndpointRef, UnsafePointer<MIDIPacketList>) -> OSStatus)!
init()
init(_reserved _reserved: UnsafeMutablePointer<Void>, QueryInterface QueryInterface: ((UnsafeMutablePointer<Void>, REFIID, UnsafeMutablePointer<LPVOID>) -> HRESULT)!, AddRef AddRef: ((UnsafeMutablePointer<Void>) -> ULONG)!, Release Release: ((UnsafeMutablePointer<Void>) -> ULONG)!, FindDevices FindDevices: ((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)!, Start Start: ((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)!, Stop Stop: ((MIDIDriverRef) -> OSStatus)!, Configure Configure: ((MIDIDriverRef, MIDIDeviceRef) -> OSStatus)!, Send Send: ((MIDIDriverRef, UnsafePointer<MIDIPacketList>, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)!, EnableSource EnableSource: ((MIDIDriverRef, MIDIEndpointRef, DarwinBoolean) -> OSStatus)!, Flush Flush: ((MIDIDriverRef, MIDIEndpointRef, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)!, Monitor Monitor: ((MIDIDriverRef, MIDIEndpointRef, UnsafePointer<MIDIPacketList>) -> OSStatus)!)
} |
Modified MIDIDriverInterface.AddRef
| Declaration | |
|---|---|
| From | var AddRef: CFunctionPointer<((UnsafeMutablePointer<Void>) -> ULONG)> |
| To | var AddRef: ((UnsafeMutablePointer<Void>) -> ULONG)! |
Modified MIDIDriverInterface.Configure
| Declaration | |
|---|---|
| From | var Configure: CFunctionPointer<((MIDIDriverRef, MIDIDeviceRef) -> OSStatus)> |
| To | var Configure: ((MIDIDriverRef, MIDIDeviceRef) -> OSStatus)! |
Modified MIDIDriverInterface.EnableSource
| Declaration | |
|---|---|
| From | var EnableSource: CFunctionPointer<((MIDIDriverRef, MIDIEndpointRef, Boolean) -> OSStatus)> |
| To | var EnableSource: ((MIDIDriverRef, MIDIEndpointRef, DarwinBoolean) -> OSStatus)! |
Modified MIDIDriverInterface.FindDevices
| Declaration | |
|---|---|
| From | var FindDevices: CFunctionPointer<((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)> |
| To | var FindDevices: ((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)! |
Modified MIDIDriverInterface.Flush
| Declaration | |
|---|---|
| From | var Flush: CFunctionPointer<((MIDIDriverRef, MIDIEndpointRef, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)> |
| To | var Flush: ((MIDIDriverRef, MIDIEndpointRef, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)! |
Modified MIDIDriverInterface.Monitor
| Declaration | |
|---|---|
| From | var Monitor: CFunctionPointer<((MIDIDriverRef, MIDIEndpointRef, UnsafePointer<MIDIPacketList>) -> OSStatus)> |
| To | var Monitor: ((MIDIDriverRef, MIDIEndpointRef, UnsafePointer<MIDIPacketList>) -> OSStatus)! |
Modified MIDIDriverInterface.QueryInterface
| Declaration | |
|---|---|
| From | var QueryInterface: CFunctionPointer<((UnsafeMutablePointer<Void>, REFIID, UnsafeMutablePointer<LPVOID>) -> HRESULT)> |
| To | var QueryInterface: ((UnsafeMutablePointer<Void>, REFIID, UnsafeMutablePointer<LPVOID>) -> HRESULT)! |
Modified MIDIDriverInterface.Release
| Declaration | |
|---|---|
| From | var Release: CFunctionPointer<((UnsafeMutablePointer<Void>) -> ULONG)> |
| To | var Release: ((UnsafeMutablePointer<Void>) -> ULONG)! |
Modified MIDIDriverInterface.Send
| Declaration | |
|---|---|
| From | var Send: CFunctionPointer<((MIDIDriverRef, UnsafePointer<MIDIPacketList>, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)> |
| To | var Send: ((MIDIDriverRef, UnsafePointer<MIDIPacketList>, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> OSStatus)! |
Modified MIDIDriverInterface.Start
| Declaration | |
|---|---|
| From | var Start: CFunctionPointer<((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)> |
| To | var Start: ((MIDIDriverRef, MIDIDeviceListRef) -> OSStatus)! |
Modified MIDIDriverInterface.Stop
| Declaration | |
|---|---|
| From | var Stop: CFunctionPointer<((MIDIDriverRef) -> OSStatus)> |
| To | var Stop: ((MIDIDriverRef) -> OSStatus)! |
Modified MIDINotification.init(messageID: MIDINotificationMessageID, messageSize: UInt32)
| Introduction | |
|---|---|
| From | OS X 10.10.3 |
| To | OS X 10.11 |
| Declaration | |
|---|---|
| From | struct MIDIObjectPropertyChangeNotification {
var messageID: MIDINotificationMessageID
var messageSize: UInt32
var object: MIDIObjectRef
var objectType: MIDIObjectType
var propertyName: Unmanaged<CFString>!
init()
init(messageID messageID: MIDINotificationMessageID, messageSize messageSize: UInt32, object object: MIDIObjectRef, objectType objectType: MIDIObjectType, propertyName propertyName: Unmanaged<CFString>!)
} |
| To | struct MIDIObjectPropertyChangeNotification {
var messageID: MIDINotificationMessageID
var messageSize: UInt32
var object: MIDIObjectRef
var objectType: MIDIObjectType
var propertyName: Unmanaged<CFString>
} |
| Declaration | |
|---|---|
| From | var propertyName: Unmanaged<CFString>! |
| To | var propertyName: Unmanaged<CFString> |
Modified MIDISysexSendRequest [struct]
| Declaration | |
|---|---|
| From | struct MIDISysexSendRequest {
var destination: MIDIEndpointRef
var data: UnsafePointer<UInt8>
var bytesToSend: UInt32
var complete: Boolean
var reserved: (UInt8, UInt8, UInt8)
var completionProc: MIDICompletionProc
var completionRefCon: UnsafeMutablePointer<Void>
init()
init(destination destination: MIDIEndpointRef, data data: UnsafePointer<UInt8>, bytesToSend bytesToSend: UInt32, complete complete: Boolean, reserved reserved: (UInt8, UInt8, UInt8), completionProc completionProc: MIDICompletionProc, completionRefCon completionRefCon: UnsafeMutablePointer<Void>)
} |
| To | struct MIDISysexSendRequest {
var destination: MIDIEndpointRef
var data: UnsafePointer<UInt8>
var bytesToSend: UInt32
var complete: DarwinBoolean
var reserved: (UInt8, UInt8, UInt8)
var completionProc: MIDICompletionProc
var completionRefCon: UnsafeMutablePointer<Void>
} |
Modified MIDISysexSendRequest.complete
| Declaration | |
|---|---|
| From | var complete: Boolean |
| To | var complete: DarwinBoolean |
Modified MIDITransform.init(transform: MIDITransformType, param: Int16)
| Introduction | |
|---|---|
| From | OS X 10.10.3 |
| To | OS X 10.11 |
Modified kMIDIIDNotUnique
| Declaration | |
|---|---|
| From | var kMIDIIDNotUnique: Int { get } |
| To | var kMIDIIDNotUnique: OSStatus { get } |
Modified kMIDIInvalidClient
| Declaration | |
|---|---|
| From | var kMIDIInvalidClient: Int { get } |
| To | var kMIDIInvalidClient: OSStatus { get } |
Modified kMIDIInvalidPort
| Declaration | |
|---|---|
| From | var kMIDIInvalidPort: Int { get } |
| To | var kMIDIInvalidPort: OSStatus { get } |
Modified kMIDIInvalidUniqueID
| Declaration | |
|---|---|
| From | var kMIDIInvalidUniqueID: Int { get } |
| To | var kMIDIInvalidUniqueID: MIDIUniqueID { get } |
Modified kMIDIMessageSendErr
| Declaration | |
|---|---|
| From | var kMIDIMessageSendErr: Int { get } |
| To | var kMIDIMessageSendErr: OSStatus { get } |
Modified kMIDINoConnection
| Declaration | |
|---|---|
| From | var kMIDINoConnection: Int { get } |
| To | var kMIDINoConnection: OSStatus { get } |
Modified kMIDINoCurrentSetup
| Declaration | |
|---|---|
| From | var kMIDINoCurrentSetup: Int { get } |
| To | var kMIDINoCurrentSetup: OSStatus { get } |
Modified kMIDINotPermitted
| Declaration | |
|---|---|
| From | var kMIDINotPermitted: Int { get } |
| To | var kMIDINotPermitted: OSStatus { get } |
Modified kMIDIObjectNotFound
| Declaration | |
|---|---|
| From | var kMIDIObjectNotFound: Int { get } |
| To | var kMIDIObjectNotFound: OSStatus { get } |
Modified kMIDIObjectType_ExternalMask
| Declaration | Introduction | |
|---|---|---|
| From | var kMIDIObjectType_ExternalMask: Int { get } | OS X 10.10 |
| To | let kMIDIObjectType_ExternalMask: MIDIObjectType | OS X 10.11 |
| Declaration | |
|---|---|
| From | let kMIDIPropertyAdvanceScheduleTimeMuSec: CFString! |
| To | let kMIDIPropertyAdvanceScheduleTimeMuSec: CFString |
Modified kMIDIPropertyCanRoute
| Declaration | |
|---|---|
| From | let kMIDIPropertyCanRoute: CFString! |
| To | let kMIDIPropertyCanRoute: CFString |
Modified kMIDIPropertyConnectionUniqueID
| Declaration | |
|---|---|
| From | let kMIDIPropertyConnectionUniqueID: CFString! |
| To | let kMIDIPropertyConnectionUniqueID: CFString |
Modified kMIDIPropertyDeviceID
| Declaration | |
|---|---|
| From | let kMIDIPropertyDeviceID: CFString! |
| To | let kMIDIPropertyDeviceID: CFString |
Modified kMIDIPropertyDisplayName
| Declaration | |
|---|---|
| From | let kMIDIPropertyDisplayName: CFString! |
| To | let kMIDIPropertyDisplayName: CFString |
Modified kMIDIPropertyDriverDeviceEditorApp
| Declaration | |
|---|---|
| From | let kMIDIPropertyDriverDeviceEditorApp: CFString! |
| To | let kMIDIPropertyDriverDeviceEditorApp: CFString |
Modified kMIDIPropertyDriverOwner
| Declaration | |
|---|---|
| From | let kMIDIPropertyDriverOwner: CFString! |
| To | let kMIDIPropertyDriverOwner: CFString |
Modified kMIDIPropertyDriverVersion
| Declaration | |
|---|---|
| From | let kMIDIPropertyDriverVersion: CFString! |
| To | let kMIDIPropertyDriverVersion: CFString |
Modified kMIDIPropertyImage
| Declaration | |
|---|---|
| From | let kMIDIPropertyImage: CFString! |
| To | let kMIDIPropertyImage: CFString |
Modified kMIDIPropertyIsBroadcast
| Declaration | |
|---|---|
| From | let kMIDIPropertyIsBroadcast: CFString! |
| To | let kMIDIPropertyIsBroadcast: CFString |
Modified kMIDIPropertyIsDrumMachine
| Declaration | |
|---|---|
| From | let kMIDIPropertyIsDrumMachine: CFString! |
| To | let kMIDIPropertyIsDrumMachine: CFString |
Modified kMIDIPropertyIsEffectUnit
| Declaration | |
|---|---|
| From | let kMIDIPropertyIsEffectUnit: CFString! |
| To | let kMIDIPropertyIsEffectUnit: CFString |
Modified kMIDIPropertyIsEmbeddedEntity
| Declaration | |
|---|---|
| From | let kMIDIPropertyIsEmbeddedEntity: CFString! |
| To | let kMIDIPropertyIsEmbeddedEntity: CFString |
Modified kMIDIPropertyIsMixer
| Declaration | |
|---|---|
| From | let kMIDIPropertyIsMixer: CFString! |
| To | let kMIDIPropertyIsMixer: CFString |
Modified kMIDIPropertyIsSampler
| Declaration | |
|---|---|
| From | let kMIDIPropertyIsSampler: CFString! |
| To | let kMIDIPropertyIsSampler: CFString |
Modified kMIDIPropertyManufacturer
| Declaration | |
|---|---|
| From | let kMIDIPropertyManufacturer: CFString! |
| To | let kMIDIPropertyManufacturer: CFString |
Modified kMIDIPropertyMaxReceiveChannels
| Declaration | |
|---|---|
| From | let kMIDIPropertyMaxReceiveChannels: CFString! |
| To | let kMIDIPropertyMaxReceiveChannels: CFString |
Modified kMIDIPropertyMaxSysExSpeed
| Declaration | |
|---|---|
| From | let kMIDIPropertyMaxSysExSpeed: CFString! |
| To | let kMIDIPropertyMaxSysExSpeed: CFString |
Modified kMIDIPropertyMaxTransmitChannels
| Declaration | |
|---|---|
| From | let kMIDIPropertyMaxTransmitChannels: CFString! |
| To | let kMIDIPropertyMaxTransmitChannels: CFString |
Modified kMIDIPropertyModel
| Declaration | |
|---|---|
| From | let kMIDIPropertyModel: CFString! |
| To | let kMIDIPropertyModel: CFString |
Modified kMIDIPropertyName
| Declaration | |
|---|---|
| From | let kMIDIPropertyName: CFString! |
| To | let kMIDIPropertyName: CFString |
Modified kMIDIPropertyNameConfiguration
| Declaration | |
|---|---|
| From | let kMIDIPropertyNameConfiguration: CFString! |
| To | let kMIDIPropertyNameConfiguration: CFString |
Modified kMIDIPropertyOffline
| Declaration | |
|---|---|
| From | let kMIDIPropertyOffline: CFString! |
| To | let kMIDIPropertyOffline: CFString |
Modified kMIDIPropertyPanDisruptsStereo
| Declaration | |
|---|---|
| From | let kMIDIPropertyPanDisruptsStereo: CFString! |
| To | let kMIDIPropertyPanDisruptsStereo: CFString |
Modified kMIDIPropertyPrivate
| Declaration | |
|---|---|
| From | let kMIDIPropertyPrivate: CFString! |
| To | let kMIDIPropertyPrivate: CFString |
Modified kMIDIPropertyReceiveChannels
| Declaration | |
|---|---|
| From | let kMIDIPropertyReceiveChannels: CFString! |
| To | let kMIDIPropertyReceiveChannels: CFString |
Modified kMIDIPropertyReceivesBankSelectLSB
| Declaration | |
|---|---|
| From | let kMIDIPropertyReceivesBankSelectLSB: CFString! |
| To | let kMIDIPropertyReceivesBankSelectLSB: CFString |
Modified kMIDIPropertyReceivesBankSelectMSB
| Declaration | |
|---|---|
| From | let kMIDIPropertyReceivesBankSelectMSB: CFString! |
| To | let kMIDIPropertyReceivesBankSelectMSB: CFString |
Modified kMIDIPropertyReceivesClock
| Declaration | |
|---|---|
| From | let kMIDIPropertyReceivesClock: CFString! |
| To | let kMIDIPropertyReceivesClock: CFString |
Modified kMIDIPropertyReceivesMTC
| Declaration | |
|---|---|
| From | let kMIDIPropertyReceivesMTC: CFString! |
| To | let kMIDIPropertyReceivesMTC: CFString |
Modified kMIDIPropertyReceivesNotes
| Declaration | |
|---|---|
| From | let kMIDIPropertyReceivesNotes: CFString! |
| To | let kMIDIPropertyReceivesNotes: CFString |
Modified kMIDIPropertyReceivesProgramChanges
| Declaration | |
|---|---|
| From | let kMIDIPropertyReceivesProgramChanges: CFString! |
| To | let kMIDIPropertyReceivesProgramChanges: CFString |
Modified kMIDIPropertySingleRealtimeEntity
| Declaration | |
|---|---|
| From | let kMIDIPropertySingleRealtimeEntity: CFString! |
| To | let kMIDIPropertySingleRealtimeEntity: CFString |
Modified kMIDIPropertySupportsGeneralMIDI
| Declaration | |
|---|---|
| From | let kMIDIPropertySupportsGeneralMIDI: CFString! |
| To | let kMIDIPropertySupportsGeneralMIDI: CFString |
Modified kMIDIPropertySupportsMMC
| Declaration | |
|---|---|
| From | let kMIDIPropertySupportsMMC: CFString! |
| To | let kMIDIPropertySupportsMMC: CFString |
Modified kMIDIPropertySupportsShowControl
| Declaration | |
|---|---|
| From | let kMIDIPropertySupportsShowControl: CFString! |
| To | let kMIDIPropertySupportsShowControl: CFString |
Modified kMIDIPropertyTransmitChannels
| Declaration | |
|---|---|
| From | let kMIDIPropertyTransmitChannels: CFString! |
| To | let kMIDIPropertyTransmitChannels: CFString |
Modified kMIDIPropertyTransmitsBankSelectLSB
| Declaration | |
|---|---|
| From | let kMIDIPropertyTransmitsBankSelectLSB: CFString! |
| To | let kMIDIPropertyTransmitsBankSelectLSB: CFString |
Modified kMIDIPropertyTransmitsBankSelectMSB
| Declaration | |
|---|---|
| From | let kMIDIPropertyTransmitsBankSelectMSB: CFString! |
| To | let kMIDIPropertyTransmitsBankSelectMSB: CFString |
Modified kMIDIPropertyTransmitsClock
| Declaration | |
|---|---|
| From | let kMIDIPropertyTransmitsClock: CFString! |
| To | let kMIDIPropertyTransmitsClock: CFString |
Modified kMIDIPropertyTransmitsMTC
| Declaration | |
|---|---|
| From | let kMIDIPropertyTransmitsMTC: CFString! |
| To | let kMIDIPropertyTransmitsMTC: CFString |
Modified kMIDIPropertyTransmitsNotes
| Declaration | |
|---|---|
| From | let kMIDIPropertyTransmitsNotes: CFString! |
| To | let kMIDIPropertyTransmitsNotes: CFString |
Modified kMIDIPropertyTransmitsProgramChanges
| Declaration | |
|---|---|
| From | let kMIDIPropertyTransmitsProgramChanges: CFString! |
| To | let kMIDIPropertyTransmitsProgramChanges: CFString |
Modified kMIDIPropertyUniqueID
| Declaration | |
|---|---|
| From | let kMIDIPropertyUniqueID: CFString! |
| To | let kMIDIPropertyUniqueID: CFString |
Modified kMIDIServerStartErr
| Declaration | |
|---|---|
| From | var kMIDIServerStartErr: Int { get } |
| To | var kMIDIServerStartErr: OSStatus { get } |
Modified kMIDISetupFormatErr
| Declaration | |
|---|---|
| From | var kMIDISetupFormatErr: Int { get } |
| To | var kMIDISetupFormatErr: OSStatus { get } |
Modified kMIDIUnknownEndpoint
| Declaration | |
|---|---|
| From | var kMIDIUnknownEndpoint: Int { get } |
| To | var kMIDIUnknownEndpoint: OSStatus { get } |
Modified kMIDIUnknownProperty
| Declaration | |
|---|---|
| From | var kMIDIUnknownProperty: Int { get } |
| To | var kMIDIUnknownProperty: OSStatus { get } |
Modified kMIDIWrongEndpointType
| Declaration | |
|---|---|
| From | var kMIDIWrongEndpointType: Int { get } |
| To | var kMIDIWrongEndpointType: OSStatus { get } |
Modified kMIDIWrongPropertyType
| Declaration | |
|---|---|
| From | var kMIDIWrongPropertyType: Int { get } |
| To | var kMIDIWrongPropertyType: OSStatus { get } |
Modified kMIDIWrongThread
| Declaration | |
|---|---|
| From | var kMIDIWrongThread: Int { get } |
| To | var kMIDIWrongThread: OSStatus { get } |
| Declaration | |
|---|---|
| From | func MIDIClientCreate(_ name: CFString!, _ notifyProc: MIDINotifyProc, _ notifyRefCon: UnsafeMutablePointer<Void>, _ outClient: UnsafeMutablePointer<MIDIClientRef>) -> OSStatus |
| To | func MIDIClientCreate(_ name: CFString, _ notifyProc: MIDINotifyProc?, _ notifyRefCon: UnsafeMutablePointer<Void>, _ outClient: UnsafeMutablePointer<MIDIClientRef>) -> OSStatus |
Modified MIDICompletionProc
| Declaration | |
|---|---|
| From | typealias MIDICompletionProc = CFunctionPointer<((UnsafeMutablePointer<MIDISysexSendRequest>) -> Void)> |
| To | typealias MIDICompletionProc = (UnsafeMutablePointer<MIDISysexSendRequest>) -> Void |
| Declaration | |
|---|---|
| From | func MIDIDestinationCreate(_ client: MIDIClientRef, _ name: CFString!, _ readProc: MIDIReadProc, _ refCon: UnsafeMutablePointer<Void>, _ outDest: UnsafeMutablePointer<MIDIEndpointRef>) -> OSStatus |
| To | func MIDIDestinationCreate(_ client: MIDIClientRef, _ name: CFString, _ readProc: MIDIReadProc, _ refCon: UnsafeMutablePointer<Void>, _ outDest: UnsafeMutablePointer<MIDIEndpointRef>) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIDeviceAddEntity(_ device: MIDIDeviceRef, _ name: CFString!, _ embedded: Boolean, _ numSourceEndpoints: Int, _ numDestinationEndpoints: Int, _ newEntity: UnsafeMutablePointer<MIDIEntityRef>) -> OSStatus |
| To | func MIDIDeviceAddEntity(_ device: MIDIDeviceRef, _ name: CFString, _ embedded: Bool, _ numSourceEndpoints: Int, _ numDestinationEndpoints: Int, _ newEntity: UnsafeMutablePointer<MIDIEntityRef>) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIDriverEnableMonitoring(_ driver: MIDIDriverRef, _ enabled: Boolean) -> OSStatus |
| To | func MIDIDriverEnableMonitoring(_ driver: MIDIDriverRef, _ enabled: Bool) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIExternalDeviceCreate(_ name: CFString!, _ manufacturer: CFString!, _ model: CFString!, _ outDevice: UnsafeMutablePointer<MIDIDeviceRef>) -> OSStatus |
| To | func MIDIExternalDeviceCreate(_ name: CFString, _ manufacturer: CFString, _ model: CFString, _ outDevice: UnsafeMutablePointer<MIDIDeviceRef>) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIInputPortCreate(_ client: MIDIClientRef, _ portName: CFString!, _ readProc: MIDIReadProc, _ refCon: UnsafeMutablePointer<Void>, _ outPort: UnsafeMutablePointer<MIDIPortRef>) -> OSStatus |
| To | func MIDIInputPortCreate(_ client: MIDIClientRef, _ portName: CFString, _ readProc: MIDIReadProc, _ refCon: UnsafeMutablePointer<Void>, _ outPort: UnsafeMutablePointer<MIDIPortRef>) -> OSStatus |
Modified MIDINotifyProc
| Declaration | |
|---|---|
| From | typealias MIDINotifyProc = CFunctionPointer<((UnsafePointer<MIDINotification>, UnsafeMutablePointer<Void>) -> Void)> |
| To | typealias MIDINotifyProc = (UnsafePointer<MIDINotification>, UnsafeMutablePointer<Void>) -> Void |
| Declaration | |
|---|---|
| From | func MIDIObjectGetDataProperty(_ obj: MIDIObjectRef, _ propertyID: CFString!, _ outData: UnsafeMutablePointer<Unmanaged<CFData>?>) -> OSStatus |
| To | func MIDIObjectGetDataProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ outData: UnsafeMutablePointer<Unmanaged<CFData>?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIObjectGetDictionaryProperty(_ obj: MIDIObjectRef, _ propertyID: CFString!, _ outDict: UnsafeMutablePointer<Unmanaged<CFDictionary>?>) -> OSStatus |
| To | func MIDIObjectGetDictionaryProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ outDict: UnsafeMutablePointer<Unmanaged<CFDictionary>?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIObjectGetIntegerProperty(_ obj: MIDIObjectRef, _ propertyID: CFString!, _ outValue: UnsafeMutablePointer<Int32>) -> OSStatus |
| To | func MIDIObjectGetIntegerProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ outValue: UnsafeMutablePointer<Int32>) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIObjectGetProperties(_ obj: MIDIObjectRef, _ outProperties: UnsafeMutablePointer<Unmanaged<CFPropertyList>?>, _ deep: Boolean) -> OSStatus |
| To | func MIDIObjectGetProperties(_ obj: MIDIObjectRef, _ outProperties: UnsafeMutablePointer<Unmanaged<CFPropertyList>?>, _ deep: Bool) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIObjectGetStringProperty(_ obj: MIDIObjectRef, _ propertyID: CFString!, _ str: UnsafeMutablePointer<Unmanaged<CFString>?>) -> OSStatus |
| To | func MIDIObjectGetStringProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ str: UnsafeMutablePointer<Unmanaged<CFString>?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIObjectRemoveProperty(_ obj: MIDIObjectRef, _ propertyID: CFString!) -> OSStatus |
| To | func MIDIObjectRemoveProperty(_ obj: MIDIObjectRef, _ propertyID: CFString) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIObjectSetDataProperty(_ obj: MIDIObjectRef, _ propertyID: CFString!, _ data: CFData!) -> OSStatus |
| To | func MIDIObjectSetDataProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ data: CFData) -> OSStatus |
Modified MIDIObjectSetDictionaryProperty(_: MIDIObjectRef, _: CFString, _: CFDictionary) -> OSStatus
| Declaration | |
|---|---|
| From | func MIDIObjectSetDictionaryProperty(_ obj: MIDIObjectRef, _ propertyID: CFString!, _ data: CFDictionary!) -> OSStatus |
| To | func MIDIObjectSetDictionaryProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ dict: CFDictionary) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIObjectSetIntegerProperty(_ obj: MIDIObjectRef, _ propertyID: CFString!, _ value: Int32) -> OSStatus |
| To | func MIDIObjectSetIntegerProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ value: Int32) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIObjectSetStringProperty(_ obj: MIDIObjectRef, _ propertyID: CFString!, _ str: CFString!) -> OSStatus |
| To | func MIDIObjectSetStringProperty(_ obj: MIDIObjectRef, _ propertyID: CFString, _ str: CFString) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIOutputPortCreate(_ client: MIDIClientRef, _ portName: CFString!, _ outPort: UnsafeMutablePointer<MIDIPortRef>) -> OSStatus |
| To | func MIDIOutputPortCreate(_ client: MIDIClientRef, _ portName: CFString, _ outPort: UnsafeMutablePointer<MIDIPortRef>) -> OSStatus |
Modified MIDIReadProc
| Declaration | |
|---|---|
| From | typealias MIDIReadProc = CFunctionPointer<((UnsafePointer<MIDIPacketList>, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> Void)> |
| To | typealias MIDIReadProc = (UnsafePointer<MIDIPacketList>, UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>) -> Void |
| Declaration | |
|---|---|
| From | func MIDISourceCreate(_ client: MIDIClientRef, _ name: CFString!, _ outSrc: UnsafeMutablePointer<MIDIEndpointRef>) -> OSStatus |
| To | func MIDISourceCreate(_ client: MIDIClientRef, _ name: CFString, _ outSrc: UnsafeMutablePointer<MIDIEndpointRef>) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIThruConnectionCreate(_ inPersistentOwnerID: CFString!, _ inConnectionParams: CFData!, _ outConnection: UnsafeMutablePointer<MIDIThruConnectionRef>) -> OSStatus |
| To | func MIDIThruConnectionCreate(_ inPersistentOwnerID: CFString?, _ inConnectionParams: CFData, _ outConnection: UnsafeMutablePointer<MIDIThruConnectionRef>) -> OSStatus |
Modified MIDIThruConnectionFind(_: CFString, _: UnsafeMutablePointer<Unmanaged<CFData>?>) -> OSStatus
| Declaration | |
|---|---|
| From | func MIDIThruConnectionFind(_ inPersistentOwnerID: CFString!, _ outConnectionList: UnsafeMutablePointer<Unmanaged<CFData>?>) -> OSStatus |
| To | func MIDIThruConnectionFind(_ inPersistentOwnerID: CFString, _ outConnectionList: UnsafeMutablePointer<Unmanaged<CFData>?>) -> OSStatus |
| Declaration | |
|---|---|
| From | func MIDIThruConnectionSetParams(_ connection: MIDIThruConnectionRef, _ inConnectionParams: CFData!) -> OSStatus |
| To | func MIDIThruConnectionSetParams(_ connection: MIDIThruConnectionRef, _ inConnectionParams: CFData) -> OSStatus |