Documentation
¶
Overview ¶
Package coremidi provides a fluent Go API over the macOS CoreMIDI framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Delegates ¶
A …Delegate interface is implemented by a plain Go value and installed with the matching With… setter; the package builds the Objective-C delegate object behind the scenes. Optional protocol methods are separate one-method …Handler interfaces — implement the ones you need on the same value and the framework calls them too.
Types ¶
Each base type below lists the concrete types you construct and pass where the base is accepted:
- UMPEndpoint: UMPMutableEndpoint
- UMPFunctionBlock: UMPMutableFunctionBlock
Index ¶
- Constants
- func BuiltinMemcpyChk(arg unsafe.Pointer, arg2 unsafe.Pointer, arg3 int, arg4 int) unsafe.Pointer
- func BuiltinObjectSize(arg unsafe.Pointer, arg2 int) int
- func KMIDIDriverPropertyUsesSerial() obj.Object
- func KMIDIPropertyAdvanceScheduleTimeMuSec() obj.Object
- func KMIDIPropertyAssociatedEndpoint() obj.Object
- func KMIDIPropertyCanRoute() obj.Object
- func KMIDIPropertyConnectionUniqueID() obj.Object
- func KMIDIPropertyDeviceID() obj.Object
- func KMIDIPropertyDisplayName() obj.Object
- func KMIDIPropertyDriverDeviceEditorApp() obj.Object
- func KMIDIPropertyDriverOwner() obj.Object
- func KMIDIPropertyDriverVersion() obj.Object
- func KMIDIPropertyFactoryPatchNameFile() obj.Object
- func KMIDIPropertyImage() obj.Object
- func KMIDIPropertyIsBroadcast() obj.Object
- func KMIDIPropertyIsDrumMachine() obj.Object
- func KMIDIPropertyIsEffectUnit() obj.Object
- func KMIDIPropertyIsEmbeddedEntity() obj.Object
- func KMIDIPropertyIsMixer() obj.Object
- func KMIDIPropertyIsSampler() obj.Object
- func KMIDIPropertyManufacturer() obj.Object
- func KMIDIPropertyMaxReceiveChannels() obj.Object
- func KMIDIPropertyMaxSysExSpeed() obj.Object
- func KMIDIPropertyMaxTransmitChannels() obj.Object
- func KMIDIPropertyModel() obj.Object
- func KMIDIPropertyName() obj.Object
- func KMIDIPropertyNameConfiguration() obj.Object
- func KMIDIPropertyNameConfigurationDictionary() obj.Object
- func KMIDIPropertyOffline() obj.Object
- func KMIDIPropertyPanDisruptsStereo() obj.Object
- func KMIDIPropertyPrivate() obj.Object
- func KMIDIPropertyProtocolID() obj.Object
- func KMIDIPropertyReceiveChannels() obj.Object
- func KMIDIPropertyReceivesBankSelectLSB() obj.Object
- func KMIDIPropertyReceivesBankSelectMSB() obj.Object
- func KMIDIPropertyReceivesClock() obj.Object
- func KMIDIPropertyReceivesMTC() obj.Object
- func KMIDIPropertyReceivesNotes() obj.Object
- func KMIDIPropertyReceivesProgramChanges() obj.Object
- func KMIDIPropertySingleRealtimeEntity() obj.Object
- func KMIDIPropertySupportsGeneralMIDI() obj.Object
- func KMIDIPropertySupportsMMC() obj.Object
- func KMIDIPropertySupportsShowControl() obj.Object
- func KMIDIPropertyTransmitChannels() obj.Object
- func KMIDIPropertyTransmitsBankSelectLSB() obj.Object
- func KMIDIPropertyTransmitsBankSelectMSB() obj.Object
- func KMIDIPropertyTransmitsClock() obj.Object
- func KMIDIPropertyTransmitsMTC() obj.Object
- func KMIDIPropertyTransmitsNotes() obj.Object
- func KMIDIPropertyTransmitsProgramChanges() obj.Object
- func KMIDIPropertyUMPActiveGroupBitmap() obj.Object
- func KMIDIPropertyUMPCanTransmitGroupless() obj.Object
- func KMIDIPropertyUniqueID() obj.Object
- func KMIDIPropertyUserPatchNameFile() obj.Object
- func MIDI1UPChannelPressure(group uint8, channel uint8, value uint8) int
- func MIDI1UPChannelVoiceMessage(group uint8, status uint8, channel uint8, data1 uint8, data2 uint8) int
- func MIDI1UPControlChange(group uint8, channel uint8, index uint8, data uint8) int
- func MIDI1UPNoteOff(group uint8, channel uint8, noteNumber uint8, velocity uint8) int
- func MIDI1UPNoteOn(group uint8, channel uint8, noteNumber uint8, velocity uint8) int
- func MIDI1UPPitchBend(group uint8, channel uint8, lsb uint8, msb uint8) int
- func MIDI1UPPolyPressure(group uint8, channel uint8, noteNumber uint8, pressure uint8) int
- func MIDI1UPProgramChange(group uint8, channel uint8, program uint8) int
- func MIDI1UPSysEx(group uint8, status uint8, bytesUsed uint8, byte1 uint8, byte2 uint8, ...) unsafe.Pointer
- func MIDI1UPSysExArray(group uint8, status uint8) (result unsafe.Pointer, begin uint8, end uint8)
- func MIDI1UPSystemCommon(group uint8, status uint8, byte1 uint8, byte2 uint8) int
- func MIDI2AssignableControl(group uint8, channel uint8, bank uint8, index uint8, value int) unsafe.Pointer
- func MIDI2AssignablePNC(group uint8, channel uint8, noteNumber uint8, index uint8, value int) unsafe.Pointer
- func MIDI2ChannelPressure(group uint8, channel uint8, value int) unsafe.Pointer
- func MIDI2ChannelVoiceMessage(group uint8, status uint8, channel uint8, index uint16, value int) unsafe.Pointer
- func MIDI2ControlChange(group uint8, channel uint8, index uint8, value int) unsafe.Pointer
- func MIDI2EndOfClipMessage() unsafe.Pointer
- func MIDI2EndpointDeviceIdentityNotificationMessage(deviceManufacturer1 uint8, deviceManufacturer2 uint8, ...) unsafe.Pointer
- func MIDI2EndpointDiscoveryMessage(versionMajor uint8, versionMinor uint8, endpointInfoRequest bool, ...) unsafe.Pointer
- func MIDI2EndpointInfoNotificationMessage(versionMajor uint8, versionMinor uint8, staticFunctionBlocks bool, ...) unsafe.Pointer
- func MIDI2EndpointNameNotificationMessage(format UMPStreamMessageFormat, data unsafe.Pointer, length int) unsafe.Pointer
- func MIDI2EndpointProductInstanceIDNotificationMessage(format UMPStreamMessageFormat, data unsafe.Pointer, length int) unsafe.Pointer
- func MIDI2FlexDataMessage(group uint8, format uint8, address uint8, channel uint8, statusBank uint8, ...) unsafe.Pointer
- func MIDI2FunctionBlockDiscoveryMessage(functionBlockNumber uint8, infoRequest bool, nameRequest bool) unsafe.Pointer
- func MIDI2FunctionBlockInfoNotificationMessage(active bool, blockNumber uint8, uiHint UMPFunctionBlockUIHint, ...) unsafe.Pointer
- func MIDI2FunctionBlockNameNotificationMessage(format UMPStreamMessageFormat, blockNumber uint8, data unsafe.Pointer, ...) unsafe.Pointer
- func MIDI2NoteOff(group uint8, channel uint8, noteNumber uint8, attributeType uint8, ...) unsafe.Pointer
- func MIDI2NoteOn(group uint8, channel uint8, noteNumber uint8, attributeType uint8, ...) unsafe.Pointer
- func MIDI2PerNoteManagment(group uint8, channel uint8, noteNumber uint8, detachPNCs bool, ...) unsafe.Pointer
- func MIDI2PerNotePitchBend(group uint8, channel uint8, noteNumber uint8, value int) unsafe.Pointer
- func MIDI2PitchBend(group uint8, channel uint8, value int) unsafe.Pointer
- func MIDI2PolyPressure(group uint8, channel uint8, noteNumber uint8, value int) unsafe.Pointer
- func MIDI2ProgramChange(group uint8, channel uint8, bankIsValid bool, program uint8, bankMsb uint8, ...) unsafe.Pointer
- func MIDI2RegisteredControl(group uint8, channel uint8, bank uint8, index uint8, value int) unsafe.Pointer
- func MIDI2RegisteredPNC(group uint8, channel uint8, noteNumber uint8, index uint8, value int) unsafe.Pointer
- func MIDI2RelAssignableControl(group uint8, channel uint8, bank uint8, index uint8, value int) unsafe.Pointer
- func MIDI2RelRegisteredControl(group uint8, channel uint8, bank uint8, index uint8, value int) unsafe.Pointer
- func MIDI2StartOfClipMessage() unsafe.Pointer
- func MIDI2StreamConfigurationNotificationMessage(protocol uint8, receiveJRTimestamp bool, transmitJRTimestamp bool) unsafe.Pointer
- func MIDI2StreamConfigurationRequestMessage(protocol uint8, receiveJRTimestamp bool, transmitJRTimestamp bool) unsafe.Pointer
- func MIDI2StreamMessage(format UMPStreamMessageFormat, status UMPStreamMessageStatus, data1 uint16, ...) unsafe.Pointer
- func MIDI2StreamMessageFromData(format UMPStreamMessageFormat, status UMPStreamMessageStatus, ...) unsafe.Pointer
- func MIDIBluetoothDriverActivateAllConnections() error
- func MIDIBluetoothDriverDisconnect(uuid obj.Object) error
- func MIDICIDeviceObjectKey() obj.Object
- func MIDICIDeviceWasAddedNotification() uintptr
- func MIDICIDeviceWasRemovedNotification() uintptr
- func MIDICIProfileObjectKey() obj.Object
- func MIDICIProfileWasRemovedNotification() uintptr
- func MIDICIProfileWasUpdatedNotification() uintptr
- func MIDIClientCreate(name obj.Object, notifyProc unsafe.Pointer, notifyRefCon unsafe.Pointer) (result int, outClient int)
- func MIDIClientCreateWithBlock(name obj.Object, notifyBlock unsafe.Pointer) (result int, outClient int)
- func MIDIClientDispose(client int) error
- func MIDIDeltaClockstampTicksPerQuarterNoteMessage(ticksPerQuarterNote uint16) int
- func MIDIDestinationCreate(client int, name obj.Object, readProc unsafe.Pointer, refCon unsafe.Pointer) (result int, outDest int)
- func MIDIDestinationCreateWithBlock(client int, name obj.Object, readBlock unsafe.Pointer) (result int, outDest int)
- func MIDIDestinationCreateWithProtocol(client int, name obj.Object, protocol ProtocolID, readBlock unsafe.Pointer) (result int, outDest int)
- func MIDIDeviceAddEntity(device int, name obj.Object, embedded uint8, numSourceEndpoints int, ...) (result int, newEntity int)
- func MIDIDeviceCreate(owner unsafe.Pointer, name obj.Object, manufacturer obj.Object, ...) (result int, outDevice int)
- func MIDIDeviceDispose(device int) error
- func MIDIDeviceGetEntity(device int, entityIndex0 int) int
- func MIDIDeviceGetNumberOfEntities(device int) int
- func MIDIDeviceListAddDevice(devList int, dev int) error
- func MIDIDeviceListDispose(devList int) error
- func MIDIDeviceListGetDevice(devList int, index0 int) int
- func MIDIDeviceListGetNumberOfDevices(devList int) int
- func MIDIDeviceNewEntity(device int, name obj.Object, protocol ProtocolID, embedded uint8, ...) (result int, newEntity int)
- func MIDIDeviceRemoveEntity(device int, entity int) error
- func MIDIDriverEnableMonitoring(driver unsafe.Pointer, enabled uint8) int
- func MIDIEndpointDispose(endpt int) error
- func MIDIEndpointGetEntity(inEndpoint int) (result int, outEntity int)
- func MIDIEndpointGetRefCons(endpt int, ref1 unsafe.Pointer, ref2 unsafe.Pointer) error
- func MIDIEndpointSetRefCons(endpt int, ref1 unsafe.Pointer, ref2 unsafe.Pointer) error
- func MIDIEntityAddOrRemoveEndpoints(entity int, numSourceEndpoints int, numDestinationEndpoints int) error
- func MIDIEntityGetDestination(entity int, destIndex0 int) int
- func MIDIEntityGetDevice(inEntity int) (result int, outDevice int)
- func MIDIEntityGetNumberOfDestinations(entity int) int
- func MIDIEntityGetNumberOfSources(entity int) int
- func MIDIEntityGetSource(entity int, sourceIndex0 int) int
- func MIDIEventListAdd(evtlist unsafe.Pointer, listSize int, curPacket unsafe.Pointer, time_ uint64, ...) (result unsafe.Pointer, words int)
- func MIDIEventListForEachEvent(evtlist unsafe.Pointer, visitor unsafe.Pointer, visitorContext unsafe.Pointer)
- func MIDIEventListInit(evtlist unsafe.Pointer, protocol ProtocolID) unsafe.Pointer
- func MIDIEventPacketNext(pkt unsafe.Pointer) unsafe.Pointer
- func MIDIEventPacketSysexBytesForGroup(pkt unsafe.Pointer, groupIndex uint8, outData unsafe.Pointer) int
- func MIDIExternalDeviceCreate(name obj.Object, manufacturer obj.Object, model obj.Object) (result int, outDevice int)
- func MIDIFlushOutput(dest int) error
- func MIDIGetDestination(destIndex0 int) int
- func MIDIGetDevice(deviceIndex0 int) int
- func MIDIGetDriverDeviceList(driver unsafe.Pointer) int
- func MIDIGetDriverIORunLoop() obj.Object
- func MIDIGetExternalDevice(deviceIndex0 int) int
- func MIDIGetNumberOfDestinations() int
- func MIDIGetNumberOfDevices() int
- func MIDIGetNumberOfExternalDevices() int
- func MIDIGetNumberOfSources() int
- func MIDIGetSerialPortDrivers() (obj.Object, error)
- func MIDIGetSerialPortOwner(portName obj.Object) (obj.Object, error)
- func MIDIGetSource(sourceIndex0 int) int
- func MIDIInputPortCreate(client int, portName obj.Object, readProc unsafe.Pointer, ...) (result int, outPort int)
- func MIDIInputPortCreateWithBlock(client int, portName obj.Object, readBlock unsafe.Pointer) (result int, outPort int)
- func MIDIInputPortCreateWithProtocol(client int, portName obj.Object, protocol ProtocolID, ...) (result int, outPort int)
- func MIDIJitterReductionClockMessage(senderClockTime uint16) int
- func MIDIJitterReductionTimestampMessage(senderClockTimestamp uint16) int
- func MIDINetworkBonjourServiceType() obj.Object
- func MIDINetworkNotificationContactsDidChange() obj.Object
- func MIDINetworkNotificationSessionDidChange() obj.Object
- func MIDINoOpMessage() int
- func MIDIObjectGetDataProperty(object int, propertyID obj.Object) (obj.Object, error)
- func MIDIObjectGetDictionaryProperty(object int, propertyID obj.Object) (obj.Object, error)
- func MIDIObjectGetIntegerProperty(object int, propertyID obj.Object) (result int, outValue int)
- func MIDIObjectGetProperties(object int, deep uint8) (obj.Object, error)
- func MIDIObjectGetStringProperty(object int, propertyID obj.Object) (obj.Object, error)
- func MIDIObjectRemoveProperty(object int, propertyID obj.Object) error
- func MIDIObjectSetDataProperty(object int, propertyID obj.Object, data obj.Object) error
- func MIDIObjectSetDictionaryProperty(object int, propertyID obj.Object, dict obj.Object) error
- func MIDIObjectSetIntegerProperty(object int, propertyID obj.Object, value int) error
- func MIDIObjectSetStringProperty(object int, propertyID obj.Object, str obj.Object) error
- func MIDIOutputPortCreate(client int, portName obj.Object) (result int, outPort int)
- func MIDIPacketListAdd(pktlist unsafe.Pointer, listSize int, curPacket unsafe.Pointer, time_ uint64, ...) (result unsafe.Pointer, data uint8)
- func MIDIPacketListInit(pktlist unsafe.Pointer) unsafe.Pointer
- func MIDIPacketNext(pkt unsafe.Pointer) unsafe.Pointer
- func MIDIPortConnectSource(port int, source int, connRefCon unsafe.Pointer) error
- func MIDIPortDisconnectSource(port int, source int) error
- func MIDIPortDispose(port int) error
- func MIDIReceived(src int, pktlist unsafe.Pointer) int
- func MIDIReceivedEventList(src int, evtlist unsafe.Pointer) int
- func MIDIRestart() error
- func MIDISend(port int, dest int, pktlist unsafe.Pointer) int
- func MIDISendEventList(port int, dest int, evtlist unsafe.Pointer) int
- func MIDISendSysex(request unsafe.Pointer) int
- func MIDISendUMPSysex(umpRequest unsafe.Pointer) int
- func MIDISendUMPSysex8(umpRequest unsafe.Pointer) int
- func MIDISetSerialPortOwner(portName obj.Object, driverName obj.Object) error
- func MIDISetupAddDevice(device int) error
- func MIDISetupAddExternalDevice(device int) error
- func MIDISetupCreate() (result int, outSetup int)
- func MIDISetupDispose(setup int) error
- func MIDISetupFromData(data obj.Object) (result int, outSetup int)
- func MIDISetupGetCurrent() (result int, outSetup int)
- func MIDISetupInstall(setup int) error
- func MIDISetupRemoveDevice(device int) error
- func MIDISetupRemoveExternalDevice(device int) error
- func MIDISetupToData(setup int) (obj.Object, error)
- func MIDISourceCreate(client int, name obj.Object) (result int, outSrc int)
- func MIDISourceCreateWithProtocol(client int, name obj.Object, protocol ProtocolID) (result int, outSrc int)
- func MIDIThruConnectionCreate(inPersistentOwnerID obj.Object, inConnectionParams obj.Object) (result int, outConnection int)
- func MIDIThruConnectionDispose(connection int) error
- func MIDIThruConnectionFind(inPersistentOwnerID obj.Object) (obj.Object, error)
- func MIDIThruConnectionGetParams(connection int) (obj.Object, error)
- func MIDIThruConnectionParamsInitialize(inConnectionParams unsafe.Pointer)
- func MIDIThruConnectionParamsSize(ptr unsafe.Pointer) int
- func MIDIThruConnectionSetParams(connection int, inConnectionParams obj.Object) error
- func MIDITicksSinceLastEventMessage(ticksSinceLastEvent int) int
- func MIDIUMPEndpointObjectKey() obj.Object
- func MIDIUMPEndpointWasAddedNotification() uintptr
- func MIDIUMPEndpointWasRemovedNotification() uintptr
- func MIDIUMPEndpointWasUpdatedNotification() uintptr
- func MIDIUMPFunctionBlockObjectKey() obj.Object
- func MIDIUMPFunctionBlockWasUpdatedNotification() uintptr
- type CICategoryOptions
- type CIDevice
- func (cd *CIDevice) Description() string
- func (cd *CIDevice) DeviceInfo() *MIDI2DeviceInfo
- func (cd *CIDevice) DeviceType() CIDeviceType
- func (cd *CIDevice) IsEqual(other obj.Object) bool
- func (cd *CIDevice) IsKind(className string) bool
- func (cd *CIDevice) MUID() int
- func (cd *CIDevice) MaxPropertyExchangeRequests() int
- func (cd *CIDevice) MaxSysExSize() int
- func (cd *CIDevice) Profiles() []*UMPCIProfile
- func (cd *CIDevice) String() string
- func (cd *CIDevice) SupportsProcessInquiry() bool
- func (cd *CIDevice) SupportsProfileConfiguration() bool
- func (cd *CIDevice) SupportsPropertyExchange() bool
- func (cd *CIDevice) SupportsProtocolNegotiation() bool
- type CIDeviceInfo
- func (cdi *CIDeviceInfo) Description() string
- func (cdi *CIDeviceInfo) Family() []byte
- func (cdi *CIDeviceInfo) IsEqual(other obj.Object) bool
- func (cdi *CIDeviceInfo) IsKind(className string) bool
- func (cdi *CIDeviceInfo) ManufacturerID() []byte
- func (cdi *CIDeviceInfo) MidiDestination() int
- func (cdi *CIDeviceInfo) ModelNumber() []byte
- func (cdi *CIDeviceInfo) RevisionLevel() []byte
- func (cdi *CIDeviceInfo) String() string
- type CIDeviceManager
- type CIDeviceType
- type CIDiscoveredNode
- func (cdn *CIDiscoveredNode) Description() string
- func (cdn *CIDiscoveredNode) Destination() int
- func (cdn *CIDiscoveredNode) DeviceInfo() *CIDeviceInfo
- func (cdn *CIDiscoveredNode) IsEqual(other obj.Object) bool
- func (cdn *CIDiscoveredNode) IsKind(className string) bool
- func (cdn *CIDiscoveredNode) MaximumSysExSize() *foundation.Number
- func (cdn *CIDiscoveredNode) String() string
- func (cdn *CIDiscoveredNode) SupportsProfiles() bool
- func (cdn *CIDiscoveredNode) SupportsProperties() bool
- type CIDiscoveryManager
- type CIManagementMessageType
- type CIProcessInquiryMessageType
- type CIProfile
- type CIProfileMessageType
- type CIProfileResponderDelegate
- type CIProfileResponderDelegateHandleDataForProfileOnChannelDataHandler
- type CIProfileResponderDelegateWillSetProfileOnChannelEnabledHandler
- type CIProfileState
- func CIProfileStateFromID(id objc.ID) *CIProfileState
- func NewCIProfileStateWithChannelEnabledProfilesDisabledProfiles(midiChannelNum uint8, enabled []*CIProfile, disabled []*CIProfile) *CIProfileState
- func NewCIProfileStateWithEnabledProfilesDisabledProfiles(enabled []*CIProfile, disabled []*CIProfile) *CIProfileState
- func (cps *CIProfileState) Description() string
- func (cps *CIProfileState) DisabledProfiles() []*CIProfile
- func (cps *CIProfileState) EnabledProfiles() []*CIProfile
- func (cps *CIProfileState) IsEqual(other obj.Object) bool
- func (cps *CIProfileState) IsKind(className string) bool
- func (cps *CIProfileState) MidiChannel() uint8
- func (cps *CIProfileState) String() string
- type CIProfileType
- type CIPropertyExchangeMessageType
- type CIResponder
- func (cr *CIResponder) Description() string
- func (cr *CIResponder) DeviceInfo() *CIDeviceInfo
- func (cr *CIResponder) IsEqual(other obj.Object) bool
- func (cr *CIResponder) IsKind(className string) bool
- func (cr *CIResponder) NotifyProfileOnChannelIsEnabled(aProfile *CIProfile, channel uint8, enabledState bool) bool
- func (cr *CIResponder) SendProfileOnChannelProfileData(aProfile *CIProfile, channel uint8, profileSpecificData []byte) bool
- func (cr *CIResponder) Start() bool
- func (cr *CIResponder) Stop()
- func (cr *CIResponder) String() string
- type CISession
- func (cs *CISession) Description() string
- func (cs *CISession) DeviceInfo() *CIDeviceInfo
- func (cs *CISession) DisableProfileOnChannel(profile *CIProfile, channel uint8) error
- func (cs *CISession) EnableProfileOnChannel(profile *CIProfile, channel uint8) error
- func (cs *CISession) IsEqual(other obj.Object) bool
- func (cs *CISession) IsKind(className string) bool
- func (cs *CISession) MaxPropertyRequests() *foundation.Number
- func (cs *CISession) MaxSysExSize() *foundation.Number
- func (cs *CISession) MidiDestination() int
- func (cs *CISession) ProfileStateForChannel(channel uint8) *CIProfileState
- func (cs *CISession) SendProfileOnChannelProfileData(profile *CIProfile, channel uint8, profileSpecificData []byte) bool
- func (cs *CISession) String() string
- func (cs *CISession) SupportsProfileCapability() bool
- func (cs *CISession) SupportsPropertyCapability() bool
- type CVStatus
- type Clockid
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type EntryID
- type FilesecProperty
- type Flag
- type Idtype
- type IpcInfoObjectType
- type LaunchDataType
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type MIDI2DeviceInfo
- func (mdi *MIDI2DeviceInfo) Description() string
- func (mdi *MIDI2DeviceInfo) Family() uint16
- func (mdi *MIDI2DeviceInfo) IsEqual(other obj.Object) bool
- func (mdi *MIDI2DeviceInfo) IsKind(className string) bool
- func (mdi *MIDI2DeviceInfo) ModelNumber() uint16
- func (mdi *MIDI2DeviceInfo) String() string
- type MIDI2DeviceManufacturer
- type MIDI2DeviceRevisionLevel
- type MIDICIDeviceIdentification
- type MIDICIProfileIDManufacturerSpecific
- type MIDICIProfileIDStandard
- type MIDIControlTransform
- type MIDIDriverInterface
- type MIDIEventList
- type MIDIEventPacket
- type MIDIIOErrorNotification
- type MIDIMessage_64
- type MIDIMessage_96
- type MIDIMessage_128
- type MIDINotification
- type MIDIObjectAddRemoveNotification
- type MIDIObjectPropertyChangeNotification
- type MIDIPacket
- type MIDIPacketList
- type MIDISysexSendRequest
- type MIDISysexSendRequestUMP
- type MIDIThruConnectionEndpoint
- type MIDIThruConnectionParams
- type MIDITransform
- type MIDIUniversalMessage
- type MIDIValueMap
- type MachVMRangeFlags
- type MachVMRangeFlavor
- type MachVMRangeTag
- type MessageType
- type MpoFlags
- type NetworkConnection
- type NetworkConnectionPolicy
- type NetworkHost
- func HostWithNameAddressPort(name string, address string, port int) *NetworkHost
- func HostWithNameNetService(name string, netService obj.Object) *NetworkHost
- func HostWithNameNetServiceNameNetServiceDomain(name string, netServiceName string, netServiceDomain string) *NetworkHost
- func NetworkHostFromID(id objc.ID) *NetworkHost
- func NewNetworkHost() *NetworkHost
- func (nh *NetworkHost) Address() string
- func (nh *NetworkHost) Description() string
- func (nh *NetworkHost) HasSameAddressAs(other *NetworkHost) bool
- func (nh *NetworkHost) IsEqual(other obj.Object) bool
- func (nh *NetworkHost) IsKind(className string) bool
- func (nh *NetworkHost) Name() string
- func (nh *NetworkHost) NetServiceDomain() string
- func (nh *NetworkHost) NetServiceName() string
- func (nh *NetworkHost) Port() int
- func (nh *NetworkHost) String() string
- type NetworkSession
- func (ns *NetworkSession) AddConnection(connection *NetworkConnection) bool
- func (ns *NetworkSession) AddContact(contact *NetworkHost) bool
- func (ns *NetworkSession) ConnectionPolicy() NetworkConnectionPolicy
- func (ns *NetworkSession) Connections() []*NetworkConnection
- func (ns *NetworkSession) Contacts() []*NetworkHost
- func (ns *NetworkSession) Description() string
- func (ns *NetworkSession) DestinationEndpoint() int
- func (ns *NetworkSession) IsEnabled() bool
- func (ns *NetworkSession) IsEqual(other obj.Object) bool
- func (ns *NetworkSession) IsKind(className string) bool
- func (ns *NetworkSession) LocalName() string
- func (ns *NetworkSession) NetworkName() string
- func (ns *NetworkSession) NetworkPort() int
- func (ns *NetworkSession) RemoveConnection(connection *NetworkConnection) bool
- func (ns *NetworkSession) RemoveContact(contact *NetworkHost) bool
- func (ns *NetworkSession) SourceEndpoint() int
- func (ns *NetworkSession) String() string
- func (ns *NetworkSession) WithConnectionPolicy(connectionPolicy NetworkConnectionPolicy) *NetworkSession
- func (ns *NetworkSession) WithEnabled(enabled bool) *NetworkSession
- type NoteAttribute
- type NotificationMessageID
- type OSClockid
- type ObjectType
- type PerNoteManagementOptions
- type Perm
- type ProgramChangeOptions
- type ProtocolID
- type PtrauthKey
- type QosClass
- type SysExStatus
- type SystemStatus
- type Tag
- type TransformControlType
- type TransformType
- type Type
- type UMPCIObjectBackingType
- type UMPCIProfile
- func (up *UMPCIProfile) Description() string
- func (up *UMPCIProfile) EnabledChannelCount() uint16
- func (up *UMPCIProfile) FirstChannel() uint8
- func (up *UMPCIProfile) GroupOffset() uint8
- func (up *UMPCIProfile) IsEnabled() bool
- func (up *UMPCIProfile) IsEqual(other obj.Object) bool
- func (up *UMPCIProfile) IsKind(className string) bool
- func (up *UMPCIProfile) Name() string
- func (up *UMPCIProfile) ProfileType() CIProfileType
- func (up *UMPCIProfile) SetProfileStateEnabledChannelCount(isEnabled bool, enabledChannelCount uint16) error
- func (up *UMPCIProfile) String() string
- func (up *UMPCIProfile) TotalChannelCount() uint16
- type UMPEndpoint
- func (ue *UMPEndpoint) Description() string
- func (ue *UMPEndpoint) DeviceInfo() *MIDI2DeviceInfo
- func (ue *UMPEndpoint) EndpointType() UMPCIObjectBackingType
- func (ue *UMPEndpoint) FunctionBlocks() []*UMPFunctionBlock
- func (ue *UMPEndpoint) HasJRTSReceiveCapability() bool
- func (ue *UMPEndpoint) HasJRTSTransmitCapability() bool
- func (ue *UMPEndpoint) HasStaticFunctionBlocks() bool
- func (ue *UMPEndpoint) IsEqual(other obj.Object) bool
- func (ue *UMPEndpoint) IsKind(className string) bool
- func (ue *UMPEndpoint) MIDIDestination() int
- func (ue *UMPEndpoint) MIDIProtocol() ProtocolID
- func (ue *UMPEndpoint) MIDISource() int
- func (ue *UMPEndpoint) Name() string
- func (ue *UMPEndpoint) ProductInstanceID() string
- func (ue *UMPEndpoint) String() string
- func (ue *UMPEndpoint) SupportedMIDIProtocols() UMPProtocolOptions
- func (ue *UMPEndpoint) WithFunctionBlocks(items ...UMPFunctionBlockProvider) *UMPEndpoint
- type UMPEndpointManager
- type UMPEndpointProvider
- type UMPFunctionBlock
- func (ufb *UMPFunctionBlock) Description() string
- func (ufb *UMPFunctionBlock) Direction() UMPFunctionBlockDirection
- func (ufb *UMPFunctionBlock) FirstGroup() uint8
- func (ufb *UMPFunctionBlock) FunctionBlockID() uint8
- func (ufb *UMPFunctionBlock) IsEnabled() bool
- func (ufb *UMPFunctionBlock) IsEqual(other obj.Object) bool
- func (ufb *UMPFunctionBlock) IsKind(className string) bool
- func (ufb *UMPFunctionBlock) MIDI1Info() UMPFunctionBlockMIDI1Info
- func (ufb *UMPFunctionBlock) MaxSysEx8Streams() uint8
- func (ufb *UMPFunctionBlock) MidiCIDevice() *CIDevice
- func (ufb *UMPFunctionBlock) Name() string
- func (ufb *UMPFunctionBlock) String() string
- func (ufb *UMPFunctionBlock) TotalGroupsSpanned() uint8
- func (ufb *UMPFunctionBlock) UIHint() UMPFunctionBlockUIHint
- func (ufb *UMPFunctionBlock) UMPEndpoint() *UMPEndpoint
- type UMPFunctionBlockDirection
- type UMPFunctionBlockMIDI1Info
- type UMPFunctionBlockProvider
- type UMPFunctionBlockUIHint
- type UMPMutableEndpoint
- func (ume *UMPMutableEndpoint) IsEnabled() bool
- func (ume *UMPMutableEndpoint) MutableFunctionBlocks() []*UMPMutableFunctionBlock
- func (ume *UMPMutableEndpoint) RegisterFunctionBlocksMarkAsStatic(functionBlocks []*UMPMutableFunctionBlock, markAsStatic bool) error
- func (ume *UMPMutableEndpoint) SetEnabled(isEnabled bool) error
- func (ume *UMPMutableEndpoint) SetName(name string) error
- func (ume *UMPMutableEndpoint) WithFunctionBlocks(items ...UMPFunctionBlockProvider) *UMPMutableEndpoint
- func (ume *UMPMutableEndpoint) WithMutableFunctionBlocks(items ...*UMPMutableFunctionBlock) *UMPMutableEndpoint
- type UMPMutableFunctionBlock
- type UMPProtocolOptions
- type UMPStreamMessageFormat
- type UMPStreamMessageStatus
- type UtilityStatus
- type VirtualMemoryGuardExceptionCode
- type XpcListenerCreateFlags
- type XpcSessionCreateFlags
Constants ¶
const ( KMIDIIDNotUnique = -10843 KMIDIInvalidClient = -10830 KMIDIInvalidPort = -10831 KMIDIInvalidUniqueID = 0 KMIDIMessageSendErr = -10838 KMIDINoConnection = -10833 KMIDINoCurrentSetup = -10837 KMIDINotPermitted = -10844 KMIDIObjectNotFound = -10842 KMIDIServerStartErr = -10839 KMIDISetupFormatErr = -10840 KMIDIThruConnection_MaxEndpoints = 8 KMIDIUnknownEndpoint = -10834 KMIDIUnknownError = -10845 KMIDIUnknownProperty = -10835 KMIDIWrongEndpointType = -10832 KMIDIWrongPropertyType = -10836 KMIDIWrongThread = -10841 )
Variables ¶
This section is empty.
Functions ¶
func BuiltinMemcpyChk ¶
BuiltinMemcpyChk calls the CoreMIDI framework function __builtin___memcpy_chk.
func BuiltinObjectSize ¶
BuiltinObjectSize calls the CoreMIDI framework function __builtin_object_size.
func KMIDIDriverPropertyUsesSerial ¶
KMIDIDriverPropertyUsesSerial returns the value of the constant kMIDIDriverPropertyUsesSerial.
func KMIDIPropertyAdvanceScheduleTimeMuSec ¶
KMIDIPropertyAdvanceScheduleTimeMuSec returns the value of the constant kMIDIPropertyAdvanceScheduleTimeMuSec.
func KMIDIPropertyAssociatedEndpoint ¶
KMIDIPropertyAssociatedEndpoint returns the value of the constant kMIDIPropertyAssociatedEndpoint.
func KMIDIPropertyCanRoute ¶
KMIDIPropertyCanRoute returns the value of the constant kMIDIPropertyCanRoute.
func KMIDIPropertyConnectionUniqueID ¶
KMIDIPropertyConnectionUniqueID returns the value of the constant kMIDIPropertyConnectionUniqueID.
func KMIDIPropertyDeviceID ¶
KMIDIPropertyDeviceID returns the value of the constant kMIDIPropertyDeviceID.
func KMIDIPropertyDisplayName ¶
KMIDIPropertyDisplayName returns the value of the constant kMIDIPropertyDisplayName.
func KMIDIPropertyDriverDeviceEditorApp ¶
KMIDIPropertyDriverDeviceEditorApp returns the value of the constant kMIDIPropertyDriverDeviceEditorApp.
func KMIDIPropertyDriverOwner ¶
KMIDIPropertyDriverOwner returns the value of the constant kMIDIPropertyDriverOwner.
func KMIDIPropertyDriverVersion ¶
KMIDIPropertyDriverVersion returns the value of the constant kMIDIPropertyDriverVersion.
func KMIDIPropertyFactoryPatchNameFile ¶
KMIDIPropertyFactoryPatchNameFile returns the value of the constant kMIDIPropertyFactoryPatchNameFile.
func KMIDIPropertyImage ¶
KMIDIPropertyImage returns the value of the constant kMIDIPropertyImage.
func KMIDIPropertyIsBroadcast ¶
KMIDIPropertyIsBroadcast returns the value of the constant kMIDIPropertyIsBroadcast.
func KMIDIPropertyIsDrumMachine ¶
KMIDIPropertyIsDrumMachine returns the value of the constant kMIDIPropertyIsDrumMachine.
func KMIDIPropertyIsEffectUnit ¶
KMIDIPropertyIsEffectUnit returns the value of the constant kMIDIPropertyIsEffectUnit.
func KMIDIPropertyIsEmbeddedEntity ¶
KMIDIPropertyIsEmbeddedEntity returns the value of the constant kMIDIPropertyIsEmbeddedEntity.
func KMIDIPropertyIsMixer ¶
KMIDIPropertyIsMixer returns the value of the constant kMIDIPropertyIsMixer.
func KMIDIPropertyIsSampler ¶
KMIDIPropertyIsSampler returns the value of the constant kMIDIPropertyIsSampler.
func KMIDIPropertyManufacturer ¶
KMIDIPropertyManufacturer returns the value of the constant kMIDIPropertyManufacturer.
func KMIDIPropertyMaxReceiveChannels ¶
KMIDIPropertyMaxReceiveChannels returns the value of the constant kMIDIPropertyMaxReceiveChannels.
func KMIDIPropertyMaxSysExSpeed ¶
KMIDIPropertyMaxSysExSpeed returns the value of the constant kMIDIPropertyMaxSysExSpeed.
func KMIDIPropertyMaxTransmitChannels ¶
KMIDIPropertyMaxTransmitChannels returns the value of the constant kMIDIPropertyMaxTransmitChannels.
func KMIDIPropertyModel ¶
KMIDIPropertyModel returns the value of the constant kMIDIPropertyModel.
func KMIDIPropertyName ¶
KMIDIPropertyName returns the value of the constant kMIDIPropertyName.
func KMIDIPropertyNameConfiguration ¶
KMIDIPropertyNameConfiguration returns the value of the constant kMIDIPropertyNameConfiguration.
func KMIDIPropertyNameConfigurationDictionary ¶
KMIDIPropertyNameConfigurationDictionary returns the value of the constant kMIDIPropertyNameConfigurationDictionary.
func KMIDIPropertyOffline ¶
KMIDIPropertyOffline returns the value of the constant kMIDIPropertyOffline.
func KMIDIPropertyPanDisruptsStereo ¶
KMIDIPropertyPanDisruptsStereo returns the value of the constant kMIDIPropertyPanDisruptsStereo.
func KMIDIPropertyPrivate ¶
KMIDIPropertyPrivate returns the value of the constant kMIDIPropertyPrivate.
func KMIDIPropertyProtocolID ¶
KMIDIPropertyProtocolID returns the value of the constant kMIDIPropertyProtocolID.
func KMIDIPropertyReceiveChannels ¶
KMIDIPropertyReceiveChannels returns the value of the constant kMIDIPropertyReceiveChannels.
func KMIDIPropertyReceivesBankSelectLSB ¶
KMIDIPropertyReceivesBankSelectLSB returns the value of the constant kMIDIPropertyReceivesBankSelectLSB.
func KMIDIPropertyReceivesBankSelectMSB ¶
KMIDIPropertyReceivesBankSelectMSB returns the value of the constant kMIDIPropertyReceivesBankSelectMSB.
func KMIDIPropertyReceivesClock ¶
KMIDIPropertyReceivesClock returns the value of the constant kMIDIPropertyReceivesClock.
func KMIDIPropertyReceivesMTC ¶
KMIDIPropertyReceivesMTC returns the value of the constant kMIDIPropertyReceivesMTC.
func KMIDIPropertyReceivesNotes ¶
KMIDIPropertyReceivesNotes returns the value of the constant kMIDIPropertyReceivesNotes.
func KMIDIPropertyReceivesProgramChanges ¶
KMIDIPropertyReceivesProgramChanges returns the value of the constant kMIDIPropertyReceivesProgramChanges.
func KMIDIPropertySingleRealtimeEntity ¶
KMIDIPropertySingleRealtimeEntity returns the value of the constant kMIDIPropertySingleRealtimeEntity.
func KMIDIPropertySupportsGeneralMIDI ¶
KMIDIPropertySupportsGeneralMIDI returns the value of the constant kMIDIPropertySupportsGeneralMIDI.
func KMIDIPropertySupportsMMC ¶
KMIDIPropertySupportsMMC returns the value of the constant kMIDIPropertySupportsMMC.
func KMIDIPropertySupportsShowControl ¶
KMIDIPropertySupportsShowControl returns the value of the constant kMIDIPropertySupportsShowControl.
func KMIDIPropertyTransmitChannels ¶
KMIDIPropertyTransmitChannels returns the value of the constant kMIDIPropertyTransmitChannels.
func KMIDIPropertyTransmitsBankSelectLSB ¶
KMIDIPropertyTransmitsBankSelectLSB returns the value of the constant kMIDIPropertyTransmitsBankSelectLSB.
func KMIDIPropertyTransmitsBankSelectMSB ¶
KMIDIPropertyTransmitsBankSelectMSB returns the value of the constant kMIDIPropertyTransmitsBankSelectMSB.
func KMIDIPropertyTransmitsClock ¶
KMIDIPropertyTransmitsClock returns the value of the constant kMIDIPropertyTransmitsClock.
func KMIDIPropertyTransmitsMTC ¶
KMIDIPropertyTransmitsMTC returns the value of the constant kMIDIPropertyTransmitsMTC.
func KMIDIPropertyTransmitsNotes ¶
KMIDIPropertyTransmitsNotes returns the value of the constant kMIDIPropertyTransmitsNotes.
func KMIDIPropertyTransmitsProgramChanges ¶
KMIDIPropertyTransmitsProgramChanges returns the value of the constant kMIDIPropertyTransmitsProgramChanges.
func KMIDIPropertyUMPActiveGroupBitmap ¶
KMIDIPropertyUMPActiveGroupBitmap returns the value of the constant kMIDIPropertyUMPActiveGroupBitmap.
func KMIDIPropertyUMPCanTransmitGroupless ¶
KMIDIPropertyUMPCanTransmitGroupless returns the value of the constant kMIDIPropertyUMPCanTransmitGroupless.
func KMIDIPropertyUniqueID ¶
KMIDIPropertyUniqueID returns the value of the constant kMIDIPropertyUniqueID.
func KMIDIPropertyUserPatchNameFile ¶
KMIDIPropertyUserPatchNameFile returns the value of the constant kMIDIPropertyUserPatchNameFile.
func MIDI1UPChannelPressure ¶
MIDI1UPChannelPressure calls the CoreMIDI framework function MIDI1UPChannelPressure.
func MIDI1UPChannelVoiceMessage ¶
func MIDI1UPChannelVoiceMessage(group uint8, status uint8, channel uint8, data1 uint8, data2 uint8) int
MIDI1UPChannelVoiceMessage calls the CoreMIDI framework function MIDI1UPChannelVoiceMessage.
func MIDI1UPControlChange ¶
MIDI1UPControlChange calls the CoreMIDI framework function MIDI1UPControlChange.
func MIDI1UPNoteOff ¶
MIDI1UPNoteOff calls the CoreMIDI framework function MIDI1UPNoteOff.
func MIDI1UPNoteOn ¶
MIDI1UPNoteOn calls the CoreMIDI framework function MIDI1UPNoteOn.
func MIDI1UPPitchBend ¶
MIDI1UPPitchBend calls the CoreMIDI framework function MIDI1UPPitchBend.
func MIDI1UPPolyPressure ¶
MIDI1UPPolyPressure calls the CoreMIDI framework function MIDI1UPPolyPressure.
func MIDI1UPProgramChange ¶
MIDI1UPProgramChange calls the CoreMIDI framework function MIDI1UPProgramChange.
func MIDI1UPSysEx ¶
func MIDI1UPSysEx(group uint8, status uint8, bytesUsed uint8, byte1 uint8, byte2 uint8, byte3 uint8, byte4 uint8, byte5 uint8, byte6 uint8) unsafe.Pointer
MIDI1UPSysEx calls the CoreMIDI framework function MIDI1UPSysEx.
func MIDI1UPSysExArray ¶
MIDI1UPSysExArray calls the CoreMIDI framework function MIDI1UPSysExArray.
func MIDI1UPSystemCommon ¶
MIDI1UPSystemCommon calls the CoreMIDI framework function MIDI1UPSystemCommon.
func MIDI2AssignableControl ¶
func MIDI2AssignableControl(group uint8, channel uint8, bank uint8, index uint8, value int) unsafe.Pointer
MIDI2AssignableControl calls the CoreMIDI framework function MIDI2AssignableControl.
func MIDI2AssignablePNC ¶
func MIDI2AssignablePNC(group uint8, channel uint8, noteNumber uint8, index uint8, value int) unsafe.Pointer
MIDI2AssignablePNC calls the CoreMIDI framework function MIDI2AssignablePNC.
func MIDI2ChannelPressure ¶
MIDI2ChannelPressure calls the CoreMIDI framework function MIDI2ChannelPressure.
func MIDI2ChannelVoiceMessage ¶
func MIDI2ChannelVoiceMessage(group uint8, status uint8, channel uint8, index uint16, value int) unsafe.Pointer
MIDI2ChannelVoiceMessage calls the CoreMIDI framework function MIDI2ChannelVoiceMessage.
func MIDI2ControlChange ¶
MIDI2ControlChange calls the CoreMIDI framework function MIDI2ControlChange.
func MIDI2EndOfClipMessage ¶
MIDI2EndOfClipMessage calls the CoreMIDI framework function MIDI2EndOfClipMessage.
func MIDI2EndpointDeviceIdentityNotificationMessage ¶
func MIDI2EndpointDeviceIdentityNotificationMessage(deviceManufacturer1 uint8, deviceManufacturer2 uint8, deviceManufacturer3 uint8, deviceFamily uint16, deviceFamilyModel uint16, revisionLevel int) unsafe.Pointer
MIDI2EndpointDeviceIdentityNotificationMessage calls the CoreMIDI framework function MIDI2EndpointDeviceIdentityNotificationMessage.
func MIDI2EndpointDiscoveryMessage ¶
func MIDI2EndpointDiscoveryMessage(versionMajor uint8, versionMinor uint8, endpointInfoRequest bool, deviceIdentityRequest bool, endpointNameRequest bool, productInstanceIDRequest bool, streamConfigurationRequest bool) unsafe.Pointer
MIDI2EndpointDiscoveryMessage calls the CoreMIDI framework function MIDI2EndpointDiscoveryMessage.
func MIDI2EndpointInfoNotificationMessage ¶
func MIDI2EndpointInfoNotificationMessage(versionMajor uint8, versionMinor uint8, staticFunctionBlocks bool, numberOfFunctionBlocks uint8, m1 bool, m2 bool, receiveJRTimestamp bool, transmitJRTimestamp bool) unsafe.Pointer
MIDI2EndpointInfoNotificationMessage calls the CoreMIDI framework function MIDI2EndpointInfoNotificationMessage.
func MIDI2EndpointNameNotificationMessage ¶
func MIDI2EndpointNameNotificationMessage(format UMPStreamMessageFormat, data unsafe.Pointer, length int) unsafe.Pointer
MIDI2EndpointNameNotificationMessage calls the CoreMIDI framework function MIDI2EndpointNameNotificationMessage.
func MIDI2EndpointProductInstanceIDNotificationMessage ¶
func MIDI2EndpointProductInstanceIDNotificationMessage(format UMPStreamMessageFormat, data unsafe.Pointer, length int) unsafe.Pointer
MIDI2EndpointProductInstanceIDNotificationMessage calls the CoreMIDI framework function MIDI2EndpointProductInstanceIDNotificationMessage.
func MIDI2FlexDataMessage ¶
func MIDI2FlexDataMessage(group uint8, format uint8, address uint8, channel uint8, statusBank uint8, status uint8, data1 int, data2 int, data3 int) unsafe.Pointer
MIDI2FlexDataMessage calls the CoreMIDI framework function MIDI2FlexDataMessage.
func MIDI2FunctionBlockDiscoveryMessage ¶
func MIDI2FunctionBlockDiscoveryMessage(functionBlockNumber uint8, infoRequest bool, nameRequest bool) unsafe.Pointer
MIDI2FunctionBlockDiscoveryMessage calls the CoreMIDI framework function MIDI2FunctionBlockDiscoveryMessage.
func MIDI2FunctionBlockInfoNotificationMessage ¶
func MIDI2FunctionBlockInfoNotificationMessage(active bool, blockNumber uint8, uiHint UMPFunctionBlockUIHint, midi1 UMPFunctionBlockMIDI1Info, direction UMPFunctionBlockDirection, firstGroup uint8, numberOfGroupsSpanned uint8, ciVersion uint8, maxSysex8Streams uint8) unsafe.Pointer
MIDI2FunctionBlockInfoNotificationMessage calls the CoreMIDI framework function MIDI2FunctionBlockInfoNotificationMessage.
func MIDI2FunctionBlockNameNotificationMessage ¶
func MIDI2FunctionBlockNameNotificationMessage(format UMPStreamMessageFormat, blockNumber uint8, data unsafe.Pointer, length int) unsafe.Pointer
MIDI2FunctionBlockNameNotificationMessage calls the CoreMIDI framework function MIDI2FunctionBlockNameNotificationMessage.
func MIDI2NoteOff ¶
func MIDI2NoteOff(group uint8, channel uint8, noteNumber uint8, attributeType uint8, attributeData uint16, velocity uint16) unsafe.Pointer
MIDI2NoteOff calls the CoreMIDI framework function MIDI2NoteOff.
func MIDI2NoteOn ¶
func MIDI2NoteOn(group uint8, channel uint8, noteNumber uint8, attributeType uint8, attributeData uint16, velocity uint16) unsafe.Pointer
MIDI2NoteOn calls the CoreMIDI framework function MIDI2NoteOn.
func MIDI2PerNoteManagment ¶
func MIDI2PerNoteManagment(group uint8, channel uint8, noteNumber uint8, detachPNCs bool, resetPNCsToDefault bool) unsafe.Pointer
MIDI2PerNoteManagment calls the CoreMIDI framework function MIDI2PerNoteManagment.
func MIDI2PerNotePitchBend ¶
MIDI2PerNotePitchBend calls the CoreMIDI framework function MIDI2PerNotePitchBend.
func MIDI2PitchBend ¶
MIDI2PitchBend calls the CoreMIDI framework function MIDI2PitchBend.
func MIDI2PolyPressure ¶
MIDI2PolyPressure calls the CoreMIDI framework function MIDI2PolyPressure.
func MIDI2ProgramChange ¶
func MIDI2ProgramChange(group uint8, channel uint8, bankIsValid bool, program uint8, bankMsb uint8, bankLsb uint8) unsafe.Pointer
MIDI2ProgramChange calls the CoreMIDI framework function MIDI2ProgramChange.
func MIDI2RegisteredControl ¶
func MIDI2RegisteredControl(group uint8, channel uint8, bank uint8, index uint8, value int) unsafe.Pointer
MIDI2RegisteredControl calls the CoreMIDI framework function MIDI2RegisteredControl.
func MIDI2RegisteredPNC ¶
func MIDI2RegisteredPNC(group uint8, channel uint8, noteNumber uint8, index uint8, value int) unsafe.Pointer
MIDI2RegisteredPNC calls the CoreMIDI framework function MIDI2RegisteredPNC.
func MIDI2RelAssignableControl ¶
func MIDI2RelAssignableControl(group uint8, channel uint8, bank uint8, index uint8, value int) unsafe.Pointer
MIDI2RelAssignableControl calls the CoreMIDI framework function MIDI2RelAssignableControl.
func MIDI2RelRegisteredControl ¶
func MIDI2RelRegisteredControl(group uint8, channel uint8, bank uint8, index uint8, value int) unsafe.Pointer
MIDI2RelRegisteredControl calls the CoreMIDI framework function MIDI2RelRegisteredControl.
func MIDI2StartOfClipMessage ¶
MIDI2StartOfClipMessage calls the CoreMIDI framework function MIDI2StartOfClipMessage.
func MIDI2StreamConfigurationNotificationMessage ¶
func MIDI2StreamConfigurationNotificationMessage(protocol uint8, receiveJRTimestamp bool, transmitJRTimestamp bool) unsafe.Pointer
MIDI2StreamConfigurationNotificationMessage calls the CoreMIDI framework function MIDI2StreamConfigurationNotificationMessage.
func MIDI2StreamConfigurationRequestMessage ¶
func MIDI2StreamConfigurationRequestMessage(protocol uint8, receiveJRTimestamp bool, transmitJRTimestamp bool) unsafe.Pointer
MIDI2StreamConfigurationRequestMessage calls the CoreMIDI framework function MIDI2StreamConfigurationRequestMessage.
func MIDI2StreamMessage ¶
func MIDI2StreamMessage(format UMPStreamMessageFormat, status UMPStreamMessageStatus, data1 uint16, data2 int, data3 int, data4 int) unsafe.Pointer
MIDI2StreamMessage calls the CoreMIDI framework function MIDI2StreamMessage.
func MIDI2StreamMessageFromData ¶
func MIDI2StreamMessageFromData(format UMPStreamMessageFormat, status UMPStreamMessageStatus, data unsafe.Pointer, length int) unsafe.Pointer
MIDI2StreamMessageFromData calls the CoreMIDI framework function MIDI2StreamMessageFromData.
func MIDIBluetoothDriverActivateAllConnections ¶
func MIDIBluetoothDriverActivateAllConnections() error
MIDIBluetoothDriverActivateAllConnections reports an error if the CoreMIDI framework function MIDIBluetoothDriverActivateAllConnections fails.
func MIDIBluetoothDriverDisconnect ¶
MIDIBluetoothDriverDisconnect reports an error if the CoreMIDI framework function MIDIBluetoothDriverDisconnect fails.
func MIDICIDeviceObjectKey ¶
MIDICIDeviceObjectKey returns the string constant MIDICIDeviceObjectKey, for use as a dictionary key or argument.
func MIDICIDeviceWasAddedNotification ¶
func MIDICIDeviceWasAddedNotification() uintptr
MIDICIDeviceWasAddedNotification returns the address of the symbol MIDICIDeviceWasAddedNotification.
func MIDICIDeviceWasRemovedNotification ¶
func MIDICIDeviceWasRemovedNotification() uintptr
MIDICIDeviceWasRemovedNotification returns the address of the symbol MIDICIDeviceWasRemovedNotification.
func MIDICIProfileObjectKey ¶
MIDICIProfileObjectKey returns the string constant MIDICIProfileObjectKey, for use as a dictionary key or argument.
func MIDICIProfileWasRemovedNotification ¶
func MIDICIProfileWasRemovedNotification() uintptr
MIDICIProfileWasRemovedNotification returns the address of the symbol MIDICIProfileWasRemovedNotification.
func MIDICIProfileWasUpdatedNotification ¶
func MIDICIProfileWasUpdatedNotification() uintptr
MIDICIProfileWasUpdatedNotification returns the address of the symbol MIDICIProfileWasUpdatedNotification.
func MIDIClientCreate ¶
func MIDIClientCreate(name obj.Object, notifyProc unsafe.Pointer, notifyRefCon unsafe.Pointer) (result int, outClient int)
MIDIClientCreate calls the CoreMIDI framework function MIDIClientCreate.
func MIDIClientCreateWithBlock ¶
func MIDIClientCreateWithBlock(name obj.Object, notifyBlock unsafe.Pointer) (result int, outClient int)
MIDIClientCreateWithBlock calls the CoreMIDI framework function MIDIClientCreateWithBlock.
func MIDIClientDispose ¶
MIDIClientDispose reports an error if the CoreMIDI framework function MIDIClientDispose fails.
func MIDIDeltaClockstampTicksPerQuarterNoteMessage ¶
MIDIDeltaClockstampTicksPerQuarterNoteMessage calls the CoreMIDI framework function MIDIDeltaClockstampTicksPerQuarterNoteMessage.
func MIDIDestinationCreate ¶
func MIDIDestinationCreate(client int, name obj.Object, readProc unsafe.Pointer, refCon unsafe.Pointer) (result int, outDest int)
MIDIDestinationCreate calls the CoreMIDI framework function MIDIDestinationCreate.
func MIDIDestinationCreateWithBlock ¶
func MIDIDestinationCreateWithBlock(client int, name obj.Object, readBlock unsafe.Pointer) (result int, outDest int)
MIDIDestinationCreateWithBlock calls the CoreMIDI framework function MIDIDestinationCreateWithBlock.
func MIDIDestinationCreateWithProtocol ¶
func MIDIDestinationCreateWithProtocol(client int, name obj.Object, protocol ProtocolID, readBlock unsafe.Pointer) (result int, outDest int)
MIDIDestinationCreateWithProtocol calls the CoreMIDI framework function MIDIDestinationCreateWithProtocol.
func MIDIDeviceAddEntity ¶
func MIDIDeviceAddEntity(device int, name obj.Object, embedded uint8, numSourceEndpoints int, numDestinationEndpoints int) (result int, newEntity int)
MIDIDeviceAddEntity calls the CoreMIDI framework function MIDIDeviceAddEntity.
func MIDIDeviceCreate ¶
func MIDIDeviceCreate(owner unsafe.Pointer, name obj.Object, manufacturer obj.Object, model obj.Object) (result int, outDevice int)
MIDIDeviceCreate calls the CoreMIDI framework function MIDIDeviceCreate.
func MIDIDeviceDispose ¶
MIDIDeviceDispose reports an error if the CoreMIDI framework function MIDIDeviceDispose fails.
func MIDIDeviceGetEntity ¶
MIDIDeviceGetEntity calls the CoreMIDI framework function MIDIDeviceGetEntity.
func MIDIDeviceGetNumberOfEntities ¶
MIDIDeviceGetNumberOfEntities calls the CoreMIDI framework function MIDIDeviceGetNumberOfEntities.
func MIDIDeviceListAddDevice ¶
MIDIDeviceListAddDevice reports an error if the CoreMIDI framework function MIDIDeviceListAddDevice fails.
func MIDIDeviceListDispose ¶
MIDIDeviceListDispose reports an error if the CoreMIDI framework function MIDIDeviceListDispose fails.
func MIDIDeviceListGetDevice ¶
MIDIDeviceListGetDevice calls the CoreMIDI framework function MIDIDeviceListGetDevice.
func MIDIDeviceListGetNumberOfDevices ¶
MIDIDeviceListGetNumberOfDevices calls the CoreMIDI framework function MIDIDeviceListGetNumberOfDevices.
func MIDIDeviceNewEntity ¶
func MIDIDeviceNewEntity(device int, name obj.Object, protocol ProtocolID, embedded uint8, numSourceEndpoints int, numDestinationEndpoints int) (result int, newEntity int)
MIDIDeviceNewEntity calls the CoreMIDI framework function MIDIDeviceNewEntity.
func MIDIDeviceRemoveEntity ¶
MIDIDeviceRemoveEntity reports an error if the CoreMIDI framework function MIDIDeviceRemoveEntity fails.
func MIDIDriverEnableMonitoring ¶
MIDIDriverEnableMonitoring calls the CoreMIDI framework function MIDIDriverEnableMonitoring.
func MIDIEndpointDispose ¶
MIDIEndpointDispose reports an error if the CoreMIDI framework function MIDIEndpointDispose fails.
func MIDIEndpointGetEntity ¶
MIDIEndpointGetEntity calls the CoreMIDI framework function MIDIEndpointGetEntity.
func MIDIEndpointGetRefCons ¶
MIDIEndpointGetRefCons reports an error if the CoreMIDI framework function MIDIEndpointGetRefCons fails.
func MIDIEndpointSetRefCons ¶
MIDIEndpointSetRefCons reports an error if the CoreMIDI framework function MIDIEndpointSetRefCons fails.
func MIDIEntityAddOrRemoveEndpoints ¶
func MIDIEntityAddOrRemoveEndpoints(entity int, numSourceEndpoints int, numDestinationEndpoints int) error
MIDIEntityAddOrRemoveEndpoints reports an error if the CoreMIDI framework function MIDIEntityAddOrRemoveEndpoints fails.
func MIDIEntityGetDestination ¶
MIDIEntityGetDestination calls the CoreMIDI framework function MIDIEntityGetDestination.
func MIDIEntityGetDevice ¶
MIDIEntityGetDevice calls the CoreMIDI framework function MIDIEntityGetDevice.
func MIDIEntityGetNumberOfDestinations ¶
MIDIEntityGetNumberOfDestinations calls the CoreMIDI framework function MIDIEntityGetNumberOfDestinations.
func MIDIEntityGetNumberOfSources ¶
MIDIEntityGetNumberOfSources calls the CoreMIDI framework function MIDIEntityGetNumberOfSources.
func MIDIEntityGetSource ¶
MIDIEntityGetSource calls the CoreMIDI framework function MIDIEntityGetSource.
func MIDIEventListAdd ¶
func MIDIEventListAdd(evtlist unsafe.Pointer, listSize int, curPacket unsafe.Pointer, time_ uint64, wordCount int) (result unsafe.Pointer, words int)
MIDIEventListAdd calls the CoreMIDI framework function MIDIEventListAdd.
func MIDIEventListForEachEvent ¶
func MIDIEventListForEachEvent(evtlist unsafe.Pointer, visitor unsafe.Pointer, visitorContext unsafe.Pointer)
MIDIEventListForEachEvent calls the CoreMIDI framework function MIDIEventListForEachEvent.
func MIDIEventListInit ¶
func MIDIEventListInit(evtlist unsafe.Pointer, protocol ProtocolID) unsafe.Pointer
MIDIEventListInit calls the CoreMIDI framework function MIDIEventListInit.
func MIDIEventPacketNext ¶
MIDIEventPacketNext calls the CoreMIDI framework function MIDIEventPacketNext.
func MIDIEventPacketSysexBytesForGroup ¶
func MIDIEventPacketSysexBytesForGroup(pkt unsafe.Pointer, groupIndex uint8, outData unsafe.Pointer) int
MIDIEventPacketSysexBytesForGroup calls the CoreMIDI framework function MIDIEventPacketSysexBytesForGroup.
func MIDIExternalDeviceCreate ¶
func MIDIExternalDeviceCreate(name obj.Object, manufacturer obj.Object, model obj.Object) (result int, outDevice int)
MIDIExternalDeviceCreate calls the CoreMIDI framework function MIDIExternalDeviceCreate.
func MIDIFlushOutput ¶
MIDIFlushOutput reports an error if the CoreMIDI framework function MIDIFlushOutput fails.
func MIDIGetDestination ¶
MIDIGetDestination calls the CoreMIDI framework function MIDIGetDestination.
func MIDIGetDevice ¶
MIDIGetDevice calls the CoreMIDI framework function MIDIGetDevice.
func MIDIGetDriverDeviceList ¶
MIDIGetDriverDeviceList calls the CoreMIDI framework function MIDIGetDriverDeviceList.
func MIDIGetDriverIORunLoop ¶
MIDIGetDriverIORunLoop calls the CoreMIDI framework function MIDIGetDriverIORunLoop.
func MIDIGetExternalDevice ¶
MIDIGetExternalDevice calls the CoreMIDI framework function MIDIGetExternalDevice.
func MIDIGetNumberOfDestinations ¶
func MIDIGetNumberOfDestinations() int
MIDIGetNumberOfDestinations calls the CoreMIDI framework function MIDIGetNumberOfDestinations.
func MIDIGetNumberOfDevices ¶
func MIDIGetNumberOfDevices() int
MIDIGetNumberOfDevices calls the CoreMIDI framework function MIDIGetNumberOfDevices.
func MIDIGetNumberOfExternalDevices ¶
func MIDIGetNumberOfExternalDevices() int
MIDIGetNumberOfExternalDevices calls the CoreMIDI framework function MIDIGetNumberOfExternalDevices.
func MIDIGetNumberOfSources ¶
func MIDIGetNumberOfSources() int
MIDIGetNumberOfSources calls the CoreMIDI framework function MIDIGetNumberOfSources.
func MIDIGetSerialPortDrivers ¶
MIDIGetSerialPortDrivers reports an error if the CoreMIDI framework function MIDIGetSerialPortDrivers fails.
func MIDIGetSerialPortOwner ¶
MIDIGetSerialPortOwner reports an error if the CoreMIDI framework function MIDIGetSerialPortOwner fails.
func MIDIGetSource ¶
MIDIGetSource calls the CoreMIDI framework function MIDIGetSource.
func MIDIInputPortCreate ¶
func MIDIInputPortCreate(client int, portName obj.Object, readProc unsafe.Pointer, refCon unsafe.Pointer) (result int, outPort int)
MIDIInputPortCreate calls the CoreMIDI framework function MIDIInputPortCreate.
func MIDIInputPortCreateWithBlock ¶
func MIDIInputPortCreateWithBlock(client int, portName obj.Object, readBlock unsafe.Pointer) (result int, outPort int)
MIDIInputPortCreateWithBlock calls the CoreMIDI framework function MIDIInputPortCreateWithBlock.
func MIDIInputPortCreateWithProtocol ¶
func MIDIInputPortCreateWithProtocol(client int, portName obj.Object, protocol ProtocolID, receiveBlock unsafe.Pointer) (result int, outPort int)
MIDIInputPortCreateWithProtocol calls the CoreMIDI framework function MIDIInputPortCreateWithProtocol.
func MIDIJitterReductionClockMessage ¶
MIDIJitterReductionClockMessage calls the CoreMIDI framework function MIDIJitterReductionClockMessage.
func MIDIJitterReductionTimestampMessage ¶
MIDIJitterReductionTimestampMessage calls the CoreMIDI framework function MIDIJitterReductionTimestampMessage.
func MIDINetworkBonjourServiceType ¶
MIDINetworkBonjourServiceType returns the string constant MIDINetworkBonjourServiceType, for use as a dictionary key or argument.
func MIDINetworkNotificationContactsDidChange ¶
MIDINetworkNotificationContactsDidChange returns the string constant MIDINetworkNotificationContactsDidChange, for use as a dictionary key or argument.
func MIDINetworkNotificationSessionDidChange ¶
MIDINetworkNotificationSessionDidChange returns the string constant MIDINetworkNotificationSessionDidChange, for use as a dictionary key or argument.
func MIDINoOpMessage ¶
func MIDINoOpMessage() int
MIDINoOpMessage calls the CoreMIDI framework function MIDINoOpMessage.
func MIDIObjectGetDataProperty ¶
MIDIObjectGetDataProperty reports an error if the CoreMIDI framework function MIDIObjectGetDataProperty fails.
func MIDIObjectGetDictionaryProperty ¶
MIDIObjectGetDictionaryProperty reports an error if the CoreMIDI framework function MIDIObjectGetDictionaryProperty fails.
func MIDIObjectGetIntegerProperty ¶
MIDIObjectGetIntegerProperty calls the CoreMIDI framework function MIDIObjectGetIntegerProperty.
func MIDIObjectGetProperties ¶
MIDIObjectGetProperties reports an error if the CoreMIDI framework function MIDIObjectGetProperties fails.
func MIDIObjectGetStringProperty ¶
MIDIObjectGetStringProperty reports an error if the CoreMIDI framework function MIDIObjectGetStringProperty fails.
func MIDIObjectRemoveProperty ¶
MIDIObjectRemoveProperty reports an error if the CoreMIDI framework function MIDIObjectRemoveProperty fails.
func MIDIObjectSetDataProperty ¶
MIDIObjectSetDataProperty reports an error if the CoreMIDI framework function MIDIObjectSetDataProperty fails.
func MIDIObjectSetDictionaryProperty ¶
MIDIObjectSetDictionaryProperty reports an error if the CoreMIDI framework function MIDIObjectSetDictionaryProperty fails.
func MIDIObjectSetIntegerProperty ¶
MIDIObjectSetIntegerProperty reports an error if the CoreMIDI framework function MIDIObjectSetIntegerProperty fails.
func MIDIObjectSetStringProperty ¶
MIDIObjectSetStringProperty reports an error if the CoreMIDI framework function MIDIObjectSetStringProperty fails.
func MIDIOutputPortCreate ¶
MIDIOutputPortCreate calls the CoreMIDI framework function MIDIOutputPortCreate.
func MIDIPacketListAdd ¶
func MIDIPacketListAdd(pktlist unsafe.Pointer, listSize int, curPacket unsafe.Pointer, time_ uint64, nData int) (result unsafe.Pointer, data uint8)
MIDIPacketListAdd calls the CoreMIDI framework function MIDIPacketListAdd.
func MIDIPacketListInit ¶
MIDIPacketListInit calls the CoreMIDI framework function MIDIPacketListInit.
func MIDIPacketNext ¶
MIDIPacketNext calls the CoreMIDI framework function MIDIPacketNext.
func MIDIPortConnectSource ¶
MIDIPortConnectSource reports an error if the CoreMIDI framework function MIDIPortConnectSource fails.
func MIDIPortDisconnectSource ¶
MIDIPortDisconnectSource reports an error if the CoreMIDI framework function MIDIPortDisconnectSource fails.
func MIDIPortDispose ¶
MIDIPortDispose reports an error if the CoreMIDI framework function MIDIPortDispose fails.
func MIDIReceived ¶
MIDIReceived calls the CoreMIDI framework function MIDIReceived.
func MIDIReceivedEventList ¶
MIDIReceivedEventList calls the CoreMIDI framework function MIDIReceivedEventList.
func MIDIRestart ¶
func MIDIRestart() error
MIDIRestart reports an error if the CoreMIDI framework function MIDIRestart fails.
func MIDISendEventList ¶
MIDISendEventList calls the CoreMIDI framework function MIDISendEventList.
func MIDISendSysex ¶
MIDISendSysex calls the CoreMIDI framework function MIDISendSysex.
func MIDISendUMPSysex ¶
MIDISendUMPSysex calls the CoreMIDI framework function MIDISendUMPSysex.
func MIDISendUMPSysex8 ¶
MIDISendUMPSysex8 calls the CoreMIDI framework function MIDISendUMPSysex8.
func MIDISetSerialPortOwner ¶
MIDISetSerialPortOwner reports an error if the CoreMIDI framework function MIDISetSerialPortOwner fails.
func MIDISetupAddDevice ¶
MIDISetupAddDevice reports an error if the CoreMIDI framework function MIDISetupAddDevice fails.
func MIDISetupAddExternalDevice ¶
MIDISetupAddExternalDevice reports an error if the CoreMIDI framework function MIDISetupAddExternalDevice fails.
func MIDISetupCreate ¶
MIDISetupCreate calls the CoreMIDI framework function MIDISetupCreate.
func MIDISetupDispose ¶
MIDISetupDispose reports an error if the CoreMIDI framework function MIDISetupDispose fails.
func MIDISetupFromData ¶
MIDISetupFromData calls the CoreMIDI framework function MIDISetupFromData.
func MIDISetupGetCurrent ¶
MIDISetupGetCurrent calls the CoreMIDI framework function MIDISetupGetCurrent.
func MIDISetupInstall ¶
MIDISetupInstall reports an error if the CoreMIDI framework function MIDISetupInstall fails.
func MIDISetupRemoveDevice ¶
MIDISetupRemoveDevice reports an error if the CoreMIDI framework function MIDISetupRemoveDevice fails.
func MIDISetupRemoveExternalDevice ¶
MIDISetupRemoveExternalDevice reports an error if the CoreMIDI framework function MIDISetupRemoveExternalDevice fails.
func MIDISetupToData ¶
MIDISetupToData reports an error if the CoreMIDI framework function MIDISetupToData fails.
func MIDISourceCreate ¶
MIDISourceCreate calls the CoreMIDI framework function MIDISourceCreate.
func MIDISourceCreateWithProtocol ¶
func MIDISourceCreateWithProtocol(client int, name obj.Object, protocol ProtocolID) (result int, outSrc int)
MIDISourceCreateWithProtocol calls the CoreMIDI framework function MIDISourceCreateWithProtocol.
func MIDIThruConnectionCreate ¶
func MIDIThruConnectionCreate(inPersistentOwnerID obj.Object, inConnectionParams obj.Object) (result int, outConnection int)
MIDIThruConnectionCreate calls the CoreMIDI framework function MIDIThruConnectionCreate.
func MIDIThruConnectionDispose ¶
MIDIThruConnectionDispose reports an error if the CoreMIDI framework function MIDIThruConnectionDispose fails.
func MIDIThruConnectionFind ¶
MIDIThruConnectionFind reports an error if the CoreMIDI framework function MIDIThruConnectionFind fails.
func MIDIThruConnectionGetParams ¶
MIDIThruConnectionGetParams reports an error if the CoreMIDI framework function MIDIThruConnectionGetParams fails.
func MIDIThruConnectionParamsInitialize ¶
MIDIThruConnectionParamsInitialize calls the CoreMIDI framework function MIDIThruConnectionParamsInitialize.
func MIDIThruConnectionParamsSize ¶
MIDIThruConnectionParamsSize calls the CoreMIDI framework function MIDIThruConnectionParamsSize.
func MIDIThruConnectionSetParams ¶
MIDIThruConnectionSetParams reports an error if the CoreMIDI framework function MIDIThruConnectionSetParams fails.
func MIDITicksSinceLastEventMessage ¶
MIDITicksSinceLastEventMessage calls the CoreMIDI framework function MIDITicksSinceLastEventMessage.
func MIDIUMPEndpointObjectKey ¶
MIDIUMPEndpointObjectKey returns the string constant MIDIUMPEndpointObjectKey, for use as a dictionary key or argument.
func MIDIUMPEndpointWasAddedNotification ¶
func MIDIUMPEndpointWasAddedNotification() uintptr
MIDIUMPEndpointWasAddedNotification returns the address of the symbol MIDIUMPEndpointWasAddedNotification.
func MIDIUMPEndpointWasRemovedNotification ¶
func MIDIUMPEndpointWasRemovedNotification() uintptr
MIDIUMPEndpointWasRemovedNotification returns the address of the symbol MIDIUMPEndpointWasRemovedNotification.
func MIDIUMPEndpointWasUpdatedNotification ¶
func MIDIUMPEndpointWasUpdatedNotification() uintptr
MIDIUMPEndpointWasUpdatedNotification returns the address of the symbol MIDIUMPEndpointWasUpdatedNotification.
func MIDIUMPFunctionBlockObjectKey ¶
MIDIUMPFunctionBlockObjectKey returns the string constant MIDIUMPFunctionBlockObjectKey, for use as a dictionary key or argument.
func MIDIUMPFunctionBlockWasUpdatedNotification ¶
func MIDIUMPFunctionBlockWasUpdatedNotification() uintptr
MIDIUMPFunctionBlockWasUpdatedNotification returns the address of the symbol MIDIUMPFunctionBlockWasUpdatedNotification.
Types ¶
type CICategoryOptions ¶ added in v0.17.0
type CICategoryOptions int64
Bitmask — values may be combined with |.
const ( KMIDICICategoryOptionsProtocolNegotiation CICategoryOptions = 2 KMIDICICategoryOptionsProfileConfigurationSupported CICategoryOptions = 4 KMIDICICategoryOptionsPropertyExchangeSupported CICategoryOptions = 8 KMIDICICategoryOptionsProcessInquirySupported CICategoryOptions = 16 )
func (CICategoryOptions) String ¶ added in v0.17.0
func (e CICategoryOptions) String() string
String returns the CICategoryOptions constant's name, or its numeric form when the value is not a known constant.
type CIDevice ¶ added in v0.17.0
CIDevice is an idiomatic wrapper over the Objective-C class MIDICIDevice.
func CIDeviceFromID ¶ added in v0.17.0
CIDeviceFromID adopts an existing Objective-C object as a CIDevice (nil for 0), retaining it and registering a release finalizer.
func NewCIDevice ¶ added in v0.17.0
func NewCIDevice() *CIDevice
NewCIDevice creates a new CIDevice.
func (*CIDevice) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*CIDevice) DeviceInfo ¶ added in v0.17.0
func (cd *CIDevice) DeviceInfo() *MIDI2DeviceInfo
DeviceInfo returns the basic information describing the CI device.
func (*CIDevice) DeviceType ¶ added in v0.17.0
func (cd *CIDevice) DeviceType() CIDeviceType
DeviceType returns the type of MIDI-CI device.
func (*CIDevice) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*CIDevice) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*CIDevice) MUID ¶ added in v0.17.0
MUID returns the MIDI unique identifier (MUID) assigned to the CI device.
func (*CIDevice) MaxPropertyExchangeRequests ¶ added in v0.17.0
MaxPropertyExchangeRequests returns the maximum number of simultaneous Property Exchange requests, if supported.
func (*CIDevice) MaxSysExSize ¶ added in v0.17.0
MaxSysExSize returns the maximum receivable MIDI System Exclusive size for this CI device.
func (*CIDevice) Profiles ¶ added in v0.17.0
func (cd *CIDevice) Profiles() []*UMPCIProfile
Profiles returns the MIDI-CI Profiles that are registered to the Function Block.
Profiles returns the collection as a Go slice.
func (*CIDevice) String ¶ added in v0.17.0
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*CIDevice) SupportsProcessInquiry ¶ added in v0.17.0
SupportsProcessInquiry reports whether MIDI-CI Process Inquiry capability.
func (*CIDevice) SupportsProfileConfiguration ¶ added in v0.17.0
SupportsProfileConfiguration reports whether MIDI-CI Profile Configuration capability.
func (*CIDevice) SupportsPropertyExchange ¶ added in v0.17.0
SupportsPropertyExchange reports whether MIDI-CI Property Exchange capability.
func (*CIDevice) SupportsProtocolNegotiation ¶ added in v0.17.0
SupportsProtocolNegotiation reports whether MIDI-CI Protocol Negotiation capability.
type CIDeviceInfo ¶ added in v0.17.0
CIDeviceInfo is an idiomatic wrapper over the Objective-C class MIDICIDeviceInfo.
An object that provides basic information about a MIDI-CI device.
func CIDeviceInfoFromID ¶ added in v0.17.0
func CIDeviceInfoFromID(id objc.ID) *CIDeviceInfo
CIDeviceInfoFromID adopts an existing Objective-C object as a CIDeviceInfo (nil for 0), retaining it and registering a release finalizer.
func NewCIDeviceInfoWithDestinationManufacturerFamilyModelRevision ¶ added in v0.17.0
func NewCIDeviceInfoWithDestinationManufacturerFamilyModelRevision(midiDestination int, manufacturer []byte, family []byte, modelNumber []byte, revisionLevel []byte) *CIDeviceInfo
NewCIDeviceInfoWithDestinationManufacturerFamilyModelRevision creates a new device information instance.
func (*CIDeviceInfo) Description ¶ added in v0.17.0
func (cdi *CIDeviceInfo) Description() string
Description returns the object's -description text.
func (*CIDeviceInfo) Family ¶ added in v0.17.0
func (cdi *CIDeviceInfo) Family() []byte
Family returns the family.
func (*CIDeviceInfo) IsEqual ¶ added in v0.17.0
func (cdi *CIDeviceInfo) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*CIDeviceInfo) IsKind ¶ added in v0.17.0
func (cdi *CIDeviceInfo) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*CIDeviceInfo) ManufacturerID ¶ added in v0.17.0
func (cdi *CIDeviceInfo) ManufacturerID() []byte
ManufacturerID returns the manufacturer ID.
func (*CIDeviceInfo) MidiDestination ¶ added in v0.17.0
func (cdi *CIDeviceInfo) MidiDestination() int
MidiDestination returns the midi destination.
func (*CIDeviceInfo) ModelNumber ¶ added in v0.17.0
func (cdi *CIDeviceInfo) ModelNumber() []byte
ModelNumber returns the model number.
func (*CIDeviceInfo) RevisionLevel ¶ added in v0.17.0
func (cdi *CIDeviceInfo) RevisionLevel() []byte
RevisionLevel returns the revision level.
func (*CIDeviceInfo) String ¶ added in v0.17.0
func (cdi *CIDeviceInfo) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type CIDeviceManager ¶ added in v0.17.0
CIDeviceManager is an idiomatic wrapper over the Objective-C class MIDICIDeviceManager.
func CIDeviceManagerFromID ¶ added in v0.17.0
func CIDeviceManagerFromID(id objc.ID) *CIDeviceManager
CIDeviceManagerFromID adopts an existing Objective-C object as a CIDeviceManager (nil for 0), retaining it and registering a release finalizer.
func NewCIDeviceManager ¶ added in v0.17.0
func NewCIDeviceManager() *CIDeviceManager
NewCIDeviceManager creates a new CIDeviceManager.
func SharedInstance ¶ added in v0.17.0
func SharedInstance() *CIDeviceManager
SharedInstance returns retrieve the shared MIDI-CI device manager for the client process. After the first access of the property, the client process may observe notifications which are posted when the system-wide cache changes. In environments where virtual MIDI endpoint creation is not allowed, callbacks are only invoked when the process is not suspended. However, any suspended process will receive an updated copy of the cache when it resumes its running state.
func (*CIDeviceManager) Description ¶ added in v0.17.0
func (cdm *CIDeviceManager) Description() string
Description returns the object's -description text.
func (*CIDeviceManager) DiscoveredCIDevices ¶ added in v0.17.0
func (cdm *CIDeviceManager) DiscoveredCIDevices() []*CIDevice
DiscoveredCIDevices returns a list of MIDICIDevices that responded to the last MIDI-CI discovery request.
DiscoveredCIDevices returns the collection as a Go slice.
func (*CIDeviceManager) IsEqual ¶ added in v0.17.0
func (cdm *CIDeviceManager) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*CIDeviceManager) IsKind ¶ added in v0.17.0
func (cdm *CIDeviceManager) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*CIDeviceManager) String ¶ added in v0.17.0
func (cdm *CIDeviceManager) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type CIDeviceType ¶ added in v0.17.0
type CIDeviceType int64
const ( KMIDICIDeviceTypeUnknown CIDeviceType = 0 KMIDICIDeviceTypeLegacyMIDI1 CIDeviceType = 1 KMIDICIDeviceTypeVirtual CIDeviceType = 2 KMIDICIDeviceTypeUSBMIDI CIDeviceType = 3 )
func (CIDeviceType) String ¶ added in v0.17.0
func (e CIDeviceType) String() string
String returns the CIDeviceType constant's name, or its numeric form when the value is not a known constant.
type CIDiscoveredNode ¶ added in v0.17.0
CIDiscoveredNode is an idiomatic wrapper over the Objective-C class MIDICIDiscoveredNode.
A discovered MIDI-CI node that represents a MIDI source and destination that respond to capability inquiries.
func CIDiscoveredNodeFromID ¶ added in v0.17.0
func CIDiscoveredNodeFromID(id objc.ID) *CIDiscoveredNode
CIDiscoveredNodeFromID adopts an existing Objective-C object as a CIDiscoveredNode (nil for 0), retaining it and registering a release finalizer.
func NewCIDiscoveredNode ¶ added in v0.17.0
func NewCIDiscoveredNode() *CIDiscoveredNode
NewCIDiscoveredNode creates a new CIDiscoveredNode.
func (*CIDiscoveredNode) Description ¶ added in v0.17.0
func (cdn *CIDiscoveredNode) Description() string
Description returns the object's -description text.
func (*CIDiscoveredNode) Destination ¶ added in v0.17.0
func (cdn *CIDiscoveredNode) Destination() int
Destination returns the destination.
func (*CIDiscoveredNode) DeviceInfo ¶ added in v0.17.0
func (cdn *CIDiscoveredNode) DeviceInfo() *CIDeviceInfo
DeviceInfo returns the device info.
func (*CIDiscoveredNode) IsEqual ¶ added in v0.17.0
func (cdn *CIDiscoveredNode) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*CIDiscoveredNode) IsKind ¶ added in v0.17.0
func (cdn *CIDiscoveredNode) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*CIDiscoveredNode) MaximumSysExSize ¶ added in v0.17.0
func (cdn *CIDiscoveredNode) MaximumSysExSize() *foundation.Number
MaximumSysExSize returns the maximum sys ex size.
func (*CIDiscoveredNode) String ¶ added in v0.17.0
func (cdn *CIDiscoveredNode) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*CIDiscoveredNode) SupportsProfiles ¶ added in v0.17.0
func (cdn *CIDiscoveredNode) SupportsProfiles() bool
SupportsProfiles wraps the corresponding Objective-C method.
func (*CIDiscoveredNode) SupportsProperties ¶ added in v0.17.0
func (cdn *CIDiscoveredNode) SupportsProperties() bool
SupportsProperties wraps the corresponding Objective-C method.
type CIDiscoveryManager ¶ added in v0.17.0
CIDiscoveryManager is an idiomatic wrapper over the Objective-C class MIDICIDiscoveryManager.
A singleton object that performs systemwide MIDI-CI discovery.
func CIDiscoveryManagerFromID ¶ added in v0.17.0
func CIDiscoveryManagerFromID(id objc.ID) *CIDiscoveryManager
CIDiscoveryManagerFromID adopts an existing Objective-C object as a CIDiscoveryManager (nil for 0), retaining it and registering a release finalizer.
func MIDICIDiscoveryManagerSharedInstance ¶
func MIDICIDiscoveryManagerSharedInstance() *CIDiscoveryManager
MIDICIDiscoveryManagerSharedInstance returns the singleton discovery manager instance.
func NewCIDiscoveryManager ¶ added in v0.17.0
func NewCIDiscoveryManager() *CIDiscoveryManager
NewCIDiscoveryManager creates a new CIDiscoveryManager.
func (*CIDiscoveryManager) Description ¶ added in v0.17.0
func (cdm *CIDiscoveryManager) Description() string
Description returns the object's -description text.
func (*CIDiscoveryManager) IsEqual ¶ added in v0.17.0
func (cdm *CIDiscoveryManager) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*CIDiscoveryManager) IsKind ¶ added in v0.17.0
func (cdm *CIDiscoveryManager) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*CIDiscoveryManager) String ¶ added in v0.17.0
func (cdm *CIDiscoveryManager) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type CIManagementMessageType ¶ added in v0.17.0
type CIManagementMessageType int64
const ( KMIDICIManagementMessageTypeDiscovery CIManagementMessageType = 112 KMIDICIManagementMessageTypeReplyToDiscovery CIManagementMessageType = 113 KMIDICIManagementMessageTypeInquiryEndpointInformation CIManagementMessageType = 114 KMIDICIManagementMessageTypeReplyToEndpointInformation CIManagementMessageType = 115 KMIDICIManagementMessageTypeMIDICIACK CIManagementMessageType = 125 KMIDICIManagementMessageTypeInvalidateMUID CIManagementMessageType = 126 KMIDICIManagementMessageTypeMIDICINAK CIManagementMessageType = 127 )
func (CIManagementMessageType) String ¶ added in v0.17.0
func (e CIManagementMessageType) String() string
String returns the CIManagementMessageType constant's name, or its numeric form when the value is not a known constant.
type CIProcessInquiryMessageType ¶ added in v0.17.0
type CIProcessInquiryMessageType int64
const ( KMIDICIProcessInquiryMessageTypeInquiryProcessInquiryCapabilities CIProcessInquiryMessageType = 64 KMIDICIProcessInquiryMessageTypeReplyToProcessInquiryCapabilities CIProcessInquiryMessageType = 65 KMIDICIProcessInquiryMessageTypeInquiryMIDIMessageReport CIProcessInquiryMessageType = 66 KMIDICIProcessInquiryMessageTypeReplyToMIDIMessageReport CIProcessInquiryMessageType = 67 KMIDICIProcessInquiryMessageTypeEndOfMIDIMessageReport CIProcessInquiryMessageType = 68 )
func (CIProcessInquiryMessageType) String ¶ added in v0.17.0
func (e CIProcessInquiryMessageType) String() string
String returns the CIProcessInquiryMessageType constant's name, or its numeric form when the value is not a known constant.
type CIProfile ¶ added in v0.17.0
CIProfile is an idiomatic wrapper over the Objective-C class MIDICIProfile.
A mapping of MIDI messages to specific sounds and synthesis behaviors, such as General MIDI, a drawbar organ, and so on.
func CIProfileFromID ¶ added in v0.17.0
CIProfileFromID adopts an existing Objective-C object as a CIProfile (nil for 0), retaining it and registering a release finalizer.
func NewCIProfileWithData ¶ added in v0.17.0
NewCIProfileWithData creates a MIDI profile for the specified data.
func NewCIProfileWithDataName ¶ added in v0.17.0
NewCIProfileWithDataName creates a named MIDI profile for the specified data.
func (*CIProfile) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*CIProfile) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*CIProfile) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
type CIProfileMessageType ¶ added in v0.17.0
type CIProfileMessageType int64
const ( KMIDICIProfileMessageTypeProfileInquiry CIProfileMessageType = 32 KMIDICIProfileMessageTypeReplyToProfileInquiry CIProfileMessageType = 33 KMIDICIProfileMessageTypeSetProfileOn CIProfileMessageType = 34 KMIDICIProfileMessageTypeSetProfileOff CIProfileMessageType = 35 KMIDICIProfileMessageTypeProfileEnabledReport CIProfileMessageType = 36 KMIDICIProfileMessageTypeProfileDisabledReport CIProfileMessageType = 37 KMIDICIProfileMessageTypeProfileAdded CIProfileMessageType = 38 KMIDICIProfileMessageTypeProfileRemoved CIProfileMessageType = 39 KMIDICIProfileMessageTypeDetailsInquiry CIProfileMessageType = 40 KMIDICIProfileMessageTypeReplyToDetailsInquiry CIProfileMessageType = 41 KMIDICIProfileMessageTypeProfileSpecificData CIProfileMessageType = 47 )
func (CIProfileMessageType) String ¶ added in v0.17.0
func (e CIProfileMessageType) String() string
String returns the CIProfileMessageType constant's name, or its numeric form when the value is not a known constant.
type CIProfileResponderDelegate ¶ added in v0.17.0
type CIProfileResponderDelegate interface {
// ConnectInitiatorWithDeviceInfo connects initiator with device info.
ConnectInitiatorWithDeviceInfo(initiatorMUID obj.Object, deviceInfo *CIDeviceInfo) bool
// InitiatorDisconnected wraps the corresponding Objective-C method.
InitiatorDisconnected(initiatorMUID obj.Object)
}
CIProfileResponderDelegate receives the callbacks of the Objective-C protocol MIDICIProfileResponderDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (CIProfileResponderDelegate…Handler): implement the ones you need on the same value and the framework will call them too.
type CIProfileResponderDelegateHandleDataForProfileOnChannelDataHandler ¶ added in v0.17.0
type CIProfileResponderDelegateHandleDataForProfileOnChannelDataHandler interface {
HandleDataForProfileOnChannelData(aProfile *CIProfile, channel uint8, inData []byte)
}
CIProfileResponderDelegateHandleDataForProfileOnChannelDataHandler is the optional MIDICIProfileResponderDelegate method handleDataForProfile:onChannel:data:. Implement it on a CIProfileResponderDelegate value to receive that callback; a value without it is simply never sent one.
type CIProfileResponderDelegateWillSetProfileOnChannelEnabledHandler ¶ added in v0.17.0
type CIProfileResponderDelegateWillSetProfileOnChannelEnabledHandler interface {
WillSetProfileOnChannelEnabled(aProfile *CIProfile, channel uint8, shouldEnable bool) bool
}
CIProfileResponderDelegateWillSetProfileOnChannelEnabledHandler is the optional MIDICIProfileResponderDelegate method willSetProfile:onChannel:enabled:. Implement it on a CIProfileResponderDelegate value to receive that callback; a value without it is simply never sent one.
type CIProfileState ¶ added in v0.17.0
CIProfileState is an idiomatic wrapper over the Objective-C class MIDICIProfileState.
An object that provides the enabled and disabled profiles for a MIDI channel or port on a device.
func CIProfileStateFromID ¶ added in v0.17.0
func CIProfileStateFromID(id objc.ID) *CIProfileState
CIProfileStateFromID adopts an existing Objective-C object as a CIProfileState (nil for 0), retaining it and registering a release finalizer.
func NewCIProfileStateWithChannelEnabledProfilesDisabledProfiles ¶ added in v0.17.0
func NewCIProfileStateWithChannelEnabledProfilesDisabledProfiles(midiChannelNum uint8, enabled []*CIProfile, disabled []*CIProfile) *CIProfileState
NewCIProfileStateWithChannelEnabledProfilesDisabledProfiles creates a new profile state object for the specified MIDI channel and profiles.
func NewCIProfileStateWithEnabledProfilesDisabledProfiles ¶ added in v0.17.0
func NewCIProfileStateWithEnabledProfilesDisabledProfiles(enabled []*CIProfile, disabled []*CIProfile) *CIProfileState
NewCIProfileStateWithEnabledProfilesDisabledProfiles creates a new profile state object for the specified profiles.
func (*CIProfileState) Description ¶ added in v0.17.0
func (cps *CIProfileState) Description() string
Description returns the object's -description text.
func (*CIProfileState) DisabledProfiles ¶ added in v0.17.0
func (cps *CIProfileState) DisabledProfiles() []*CIProfile
DisabledProfiles returns the disabled profiles.
DisabledProfiles returns the collection as a Go slice.
func (*CIProfileState) EnabledProfiles ¶ added in v0.17.0
func (cps *CIProfileState) EnabledProfiles() []*CIProfile
EnabledProfiles returns the enabled profiles.
EnabledProfiles returns the collection as a Go slice.
func (*CIProfileState) IsEqual ¶ added in v0.17.0
func (cps *CIProfileState) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*CIProfileState) IsKind ¶ added in v0.17.0
func (cps *CIProfileState) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*CIProfileState) MidiChannel ¶ added in v0.17.0
func (cps *CIProfileState) MidiChannel() uint8
MidiChannel returns the midi channel.
func (*CIProfileState) String ¶ added in v0.17.0
func (cps *CIProfileState) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type CIProfileType ¶ added in v0.17.0
type CIProfileType int64
const ( KMIDICIProfileTypeSingleChannel CIProfileType = 1 KMIDICIProfileTypeGroup CIProfileType = 2 KMIDICIProfileTypeFunctionBlock CIProfileType = 3 KMIDICIProfileTypeMultichannel CIProfileType = 4 )
func (CIProfileType) String ¶ added in v0.17.0
func (e CIProfileType) String() string
String returns the CIProfileType constant's name, or its numeric form when the value is not a known constant.
type CIPropertyExchangeMessageType ¶ added in v0.17.0
type CIPropertyExchangeMessageType int64
const ( KMIDICIPropertyExchangeMessageTypeInquiryPropertyExchangeCapabilities CIPropertyExchangeMessageType = 48 KMIDICIPropertyExchangeMessageTypeReplyToPropertyExchangeCapabilities CIPropertyExchangeMessageType = 49 KMIDICIPropertyExchangeMessageTypeInquiryHasPropertyData_Reserved CIPropertyExchangeMessageType = 50 KMIDICIPropertyExchangeMessageTypeInquiryReplyToHasPropertyData_Reserved CIPropertyExchangeMessageType = 51 KMIDICIPropertyExchangeMessageTypeInquiryGetPropertyData CIPropertyExchangeMessageType = 52 KMIDICIPropertyExchangeMessageTypeReplyToGetProperty CIPropertyExchangeMessageType = 53 KMIDICIPropertyExchangeMessageTypeInquirySetPropertyData CIPropertyExchangeMessageType = 54 KMIDICIPropertyExchangeMessageTypeReplyToSetPropertyData CIPropertyExchangeMessageType = 55 KMIDICIPropertyExchangeMessageTypeSubscription CIPropertyExchangeMessageType = 56 KMIDICIPropertyExchangeMessageTypeReplyToSubscription CIPropertyExchangeMessageType = 57 KMIDICIPropertyExchangeMessageTypeNotify CIPropertyExchangeMessageType = 63 )
func (CIPropertyExchangeMessageType) String ¶ added in v0.17.0
func (e CIPropertyExchangeMessageType) String() string
String returns the CIPropertyExchangeMessageType constant's name, or its numeric form when the value is not a known constant.
type CIResponder ¶ added in v0.17.0
CIResponder is an idiomatic wrapper over the Objective-C class MIDICIResponder.
An object that responds to MIDI-CI inquiries from an initiator on behalf of a MIDI client, and handles profile and property exchange operations.
func CIResponderFromID ¶ added in v0.17.0
func CIResponderFromID(id objc.ID) *CIResponder
CIResponderFromID adopts an existing Objective-C object as a CIResponder (nil for 0), retaining it and registering a release finalizer.
func NewCIResponder ¶ added in v0.17.0
func NewCIResponder() *CIResponder
NewCIResponder creates a new CIResponder.
func (*CIResponder) Description ¶ added in v0.17.0
func (cr *CIResponder) Description() string
Description returns the object's -description text.
func (*CIResponder) DeviceInfo ¶ added in v0.17.0
func (cr *CIResponder) DeviceInfo() *CIDeviceInfo
DeviceInfo returns the device info.
func (*CIResponder) IsEqual ¶ added in v0.17.0
func (cr *CIResponder) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*CIResponder) IsKind ¶ added in v0.17.0
func (cr *CIResponder) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*CIResponder) NotifyProfileOnChannelIsEnabled ¶ added in v0.17.0
func (cr *CIResponder) NotifyProfileOnChannelIsEnabled(aProfile *CIProfile, channel uint8, enabledState bool) bool
NotifyProfileOnChannelIsEnabled enables or disables a profile and notifies all connected initiators.
func (*CIResponder) SendProfileOnChannelProfileData ¶ added in v0.17.0
func (cr *CIResponder) SendProfileOnChannelProfileData(aProfile *CIProfile, channel uint8, profileSpecificData []byte) bool
SendProfileOnChannelProfileData sends profile-specific data to all connected initiators.
func (*CIResponder) Start ¶ added in v0.17.0
func (cr *CIResponder) Start() bool
Start reports whether starts receiving initiator requests.
func (*CIResponder) Stop ¶ added in v0.17.0
func (cr *CIResponder) Stop()
Stop stops receiving initiator requests and disconnects all connected initiators.
func (*CIResponder) String ¶ added in v0.17.0
func (cr *CIResponder) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type CISession ¶ added in v0.17.0
CISession is an idiomatic wrapper over the Objective-C class MIDICISession.
An object that represents a MIDI-CI session.
func CISessionFromID ¶ added in v0.17.0
CISessionFromID adopts an existing Objective-C object as a CISession (nil for 0), retaining it and registering a release finalizer.
func NewCISession ¶ added in v0.17.0
func NewCISession() *CISession
NewCISession creates a new CISession.
func (*CISession) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*CISession) DeviceInfo ¶ added in v0.17.0
func (cs *CISession) DeviceInfo() *CIDeviceInfo
DeviceInfo returns the device info.
func (*CISession) DisableProfileOnChannel ¶ added in v0.17.0
DisableProfileOnChannel performs an asynchronous request to disable a profile for a specific MIDI channel number.
func (*CISession) EnableProfileOnChannel ¶ added in v0.17.0
EnableProfileOnChannel performs an asynchronous request to enable a profile for a specific MIDI channel number.
func (*CISession) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*CISession) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*CISession) MaxPropertyRequests ¶ added in v0.17.0
func (cs *CISession) MaxPropertyRequests() *foundation.Number
MaxPropertyRequests returns the max property requests.
func (*CISession) MaxSysExSize ¶ added in v0.17.0
func (cs *CISession) MaxSysExSize() *foundation.Number
MaxSysExSize returns the max sys ex size.
func (*CISession) MidiDestination ¶ added in v0.17.0
MidiDestination returns the midi destination.
func (*CISession) ProfileStateForChannel ¶ added in v0.17.0
func (cs *CISession) ProfileStateForChannel(channel uint8) *CIProfileState
ProfileStateForChannel returns the profile state for the specified MIDI channel number.
func (*CISession) SendProfileOnChannelProfileData ¶ added in v0.17.0
func (cs *CISession) SendProfileOnChannelProfileData(profile *CIProfile, channel uint8, profileSpecificData []byte) bool
SendProfileOnChannelProfileData sends profile-specific data to the MIDI-CI session.
func (*CISession) String ¶ added in v0.17.0
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*CISession) SupportsProfileCapability ¶ added in v0.17.0
SupportsProfileCapability wraps the corresponding Objective-C method.
func (*CISession) SupportsPropertyCapability ¶ added in v0.17.0
SupportsPropertyCapability wraps the corresponding Objective-C method.
type CVStatus ¶ added in v0.17.0
type CVStatus uint32
MIDI status types.
const ( KMIDICVStatusNoteOff CVStatus = 8 KMIDICVStatusNoteOn CVStatus = 9 KMIDICVStatusPolyPressure CVStatus = 10 KMIDICVStatusControlChange CVStatus = 11 KMIDICVStatusProgramChange CVStatus = 12 KMIDICVStatusChannelPressure CVStatus = 13 KMIDICVStatusPitchBend CVStatus = 14 KMIDICVStatusRegisteredPNC CVStatus = 0 KMIDICVStatusAssignablePNC CVStatus = 1 KMIDICVStatusRegisteredControl CVStatus = 2 KMIDICVStatusAssignableControl CVStatus = 3 KMIDICVStatusRelRegisteredControl CVStatus = 4 KMIDICVStatusRelAssignableControl CVStatus = 5 KMIDICVStatusPerNotePitchBend CVStatus = 6 KMIDICVStatusPerNoteMgmt CVStatus = 15 )
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int64
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type IpcInfoObjectType ¶ added in v0.17.0
type IpcInfoObjectType int64
const ( IpcInfoObjectTypeNone IpcInfoObjectType = 0 IpcInfoObjectTypeThreadControl IpcInfoObjectType = 1 IpcInfoObjectTypeTaskControl IpcInfoObjectType = 2 IpcInfoObjectTypeHost IpcInfoObjectType = 3 IpcInfoObjectTypeHostPriv IpcInfoObjectType = 4 IpcInfoObjectTypeProcessor IpcInfoObjectType = 5 IpcInfoObjectTypeProcessorSet IpcInfoObjectType = 6 IpcInfoObjectTypeProcessorSetName IpcInfoObjectType = 7 IpcInfoObjectTypeTimer IpcInfoObjectType = 8 IpcInfoObjectTypePortSubstOnce IpcInfoObjectType = 9 IpcInfoObjectTypeMig IpcInfoObjectType = 10 IpcInfoObjectTypeMemoryObject IpcInfoObjectType = 11 IpcInfoObjectTypeXmmPager IpcInfoObjectType = 12 IpcInfoObjectTypeXmmKernel IpcInfoObjectType = 13 IpcInfoObjectTypeXmmReply IpcInfoObjectType = 14 IpcInfoObjectTypeUndReply IpcInfoObjectType = 15 IpcInfoObjectTypeHostNotify IpcInfoObjectType = 16 IpcInfoObjectTypeHostSecurity IpcInfoObjectType = 17 IpcInfoObjectTypeLedger IpcInfoObjectType = 18 IpcInfoObjectTypeMainDevice IpcInfoObjectType = 19 IpcInfoObjectTypeTaskName IpcInfoObjectType = 20 IpcInfoObjectTypeSubsystem IpcInfoObjectType = 21 IpcInfoObjectTypeIODoneQueue IpcInfoObjectType = 22 IpcInfoObjectTypeSemaphore IpcInfoObjectType = 23 IpcInfoObjectTypeLockSet IpcInfoObjectType = 24 IpcInfoObjectTypeClock IpcInfoObjectType = 25 IpcInfoObjectTypeClockCtrl IpcInfoObjectType = 26 IpcInfoObjectTypeIokitIdent IpcInfoObjectType = 27 IpcInfoObjectTypeNamedEntry IpcInfoObjectType = 28 IpcInfoObjectTypeIokitConnect IpcInfoObjectType = 29 IpcInfoObjectTypeIokitObject IpcInfoObjectType = 30 IpcInfoObjectTypeUpl IpcInfoObjectType = 31 IpcInfoObjectTypeMemObjControl IpcInfoObjectType = 32 IpcInfoObjectTypeAuSessionport IpcInfoObjectType = 33 IpcInfoObjectTypeFileport IpcInfoObjectType = 34 IpcInfoObjectTypeLabelh IpcInfoObjectType = 35 IpcInfoObjectTypeTaskResume IpcInfoObjectType = 36 IpcInfoObjectTypeVoucher IpcInfoObjectType = 37 IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38 IpcInfoObjectTypeWorkInterval IpcInfoObjectType = 39 IpcInfoObjectTypeUxHandler IpcInfoObjectType = 40 IpcInfoObjectTypeUextObject IpcInfoObjectType = 41 IpcInfoObjectTypeArcadeReg IpcInfoObjectType = 42 IpcInfoObjectTypeEventlink IpcInfoObjectType = 43 IpcInfoObjectTypeTaskInspect IpcInfoObjectType = 44 IpcInfoObjectTypeTaskRead IpcInfoObjectType = 45 IpcInfoObjectTypeThreadInspect IpcInfoObjectType = 46 IpcInfoObjectTypeThreadRead IpcInfoObjectType = 47 IpcInfoObjectTypeSuidCred IpcInfoObjectType = 48 IpcInfoObjectTypeHypervisor IpcInfoObjectType = 49 IpcInfoObjectTypeTaskIDToken IpcInfoObjectType = 50 IpcInfoObjectTypeTaskFatal IpcInfoObjectType = 51 IpcInfoObjectTypeKcdata IpcInfoObjectType = 52 IpcInfoObjectTypeExclavesResource IpcInfoObjectType = 53 IpcInfoObjectTypeThreadResume IpcInfoObjectType = 54 IpcInfoObjectTypeUnknown IpcInfoObjectType = 4294967295 )
func (IpcInfoObjectType) String ¶ added in v0.17.0
func (e IpcInfoObjectType) String() string
String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.
type LaunchDataType ¶ added in v0.17.0
type LaunchDataType int64
const ( LaunchDataTypeDictionary LaunchDataType = 1 LaunchDataTypeArray LaunchDataType = 2 LaunchDataTypeFd LaunchDataType = 3 LaunchDataTypeInteger LaunchDataType = 4 LaunchDataTypeReal LaunchDataType = 5 LaunchDataTypeBool LaunchDataType = 6 LaunchDataTypeString LaunchDataType = 7 LaunchDataTypeOpaque LaunchDataType = 8 LaunchDataTypeErrno LaunchDataType = 9 LaunchDataTypeMachport LaunchDataType = 10 )
func (LaunchDataType) String ¶ added in v0.17.0
func (e LaunchDataType) String() string
String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.
type MDLabelDomain ¶
type MDLabelDomain int64
These constants are used to specify a domain to MDLabelCreate().
const ( KMDLabelUserDomain MDLabelDomain = 0 KMDLabelLocalDomain MDLabelDomain = 1 )
func (MDLabelDomain) String ¶
func (e MDLabelDomain) String() string
String returns the MDLabelDomain constant's name, or its numeric form when the value is not a known constant.
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int64
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
String returns the MDQueryOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int64
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
String returns the MDQuerySortOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MIDI2DeviceInfo ¶
MIDI2DeviceInfo is an idiomatic wrapper over the Objective-C class MIDI2DeviceInfo.
func MIDI2DeviceInfoFromID ¶
func MIDI2DeviceInfoFromID(id objc.ID) *MIDI2DeviceInfo
MIDI2DeviceInfoFromID adopts an existing Objective-C object as a MIDI2DeviceInfo (nil for 0), retaining it and registering a release finalizer.
func NewMIDI2DeviceInfo ¶ added in v0.17.0
func NewMIDI2DeviceInfo() *MIDI2DeviceInfo
NewMIDI2DeviceInfo creates a new MIDI2DeviceInfo.
func (*MIDI2DeviceInfo) Description ¶ added in v0.17.0
func (mdi *MIDI2DeviceInfo) Description() string
Description returns the object's -description text.
func (*MIDI2DeviceInfo) Family ¶
func (mdi *MIDI2DeviceInfo) Family() uint16
Family returns the family of models to which the device belongs, up to 14 bits.
func (*MIDI2DeviceInfo) IsEqual ¶ added in v0.17.0
func (mdi *MIDI2DeviceInfo) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*MIDI2DeviceInfo) IsKind ¶ added in v0.17.0
func (mdi *MIDI2DeviceInfo) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*MIDI2DeviceInfo) ModelNumber ¶
func (mdi *MIDI2DeviceInfo) ModelNumber() uint16
ModelNumber returns the specific model from the device manufacturer, up to 14 bits.
func (*MIDI2DeviceInfo) String ¶ added in v0.17.0
func (mdi *MIDI2DeviceInfo) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type MIDI2DeviceManufacturer ¶
type MIDI2DeviceManufacturer struct {
SysExIDByte [3]uint8
}
type MIDI2DeviceRevisionLevel ¶
type MIDI2DeviceRevisionLevel struct {
RevisionLevel [4]uint8
}
type MIDICIDeviceIdentification ¶
type MIDICIDeviceIdentification struct {
Manufacturer [3]uint8
Family [2]uint8
ModelNumber [2]uint8
RevisionLevel [4]uint8
Reserved [5]uint8
}
A structure that describes a MIDI-CI device.
type MIDICIProfileIDManufacturerSpecific ¶
type MIDICIProfileIDManufacturerSpecific struct {
SysExID1 uint8
SysExID2 uint8
SysExID3 uint8
Info1 uint8
Info2 uint8
}
A C-style struct containing a Manufacturer Specific profile ID.
type MIDICIProfileIDStandard ¶
type MIDICIProfileIDStandard struct {
ProfileIDByte1 uint8
ProfileBank uint8
ProfileNumber uint8
ProfileVersion uint8
ProfileLevel uint8
}
A C-style struct containing a standard profile ID.
type MIDIControlTransform ¶
type MIDIControlTransform struct {
ControlType TransformControlType
RemappedControlType TransformControlType
ControlNumber uint16
Transform TransformType
Param int16
}
A structure that describes the transformation of MIDI control change events.
type MIDIDriverInterface ¶
type MIDIDriverInterface struct {
QueryInterface unsafe.Pointer
AddRef unsafe.Pointer
Release unsafe.Pointer
FindDevices unsafe.Pointer
Start unsafe.Pointer
Stop unsafe.Pointer
Configure unsafe.Pointer
Send unsafe.Pointer
EnableSource unsafe.Pointer
Flush unsafe.Pointer
Monitor unsafe.Pointer
SendPackets unsafe.Pointer
MonitorEvents unsafe.Pointer
}
The interface to a MIDI driver.
type MIDIEventList ¶
type MIDIEventList struct {
Protocol ProtocolID
NumPackets uint
Packet [1]MIDIEventPacket
}
A variable-length list of MIDI event packets.
type MIDIEventPacket ¶
A series of simultaneous MIDI events in Universal MIDI Packets (UMP) format.
type MIDIIOErrorNotification ¶
type MIDIIOErrorNotification struct {
MessageID NotificationMessageID
MessageSize uint
DriverDevice uint
ErrorCode int
}
A general I/O error notification.
type MIDIMessage_96 ¶
A 96-bit MIDI message.
type MIDIMessage_128 ¶
A 128-bit MIDI message.
type MIDINotification ¶
type MIDINotification struct {
MessageID NotificationMessageID
MessageSize uint
}
A message that describes a system state change.
type MIDIObjectAddRemoveNotification ¶
type MIDIObjectAddRemoveNotification struct {
MessageID NotificationMessageID
MessageSize uint
Parent uint
ParentType ObjectType
Child uint
ChildType ObjectType
}
A message that describes the addition or removal of an object.
type MIDIObjectPropertyChangeNotification ¶
type MIDIObjectPropertyChangeNotification struct {
MessageID NotificationMessageID
MessageSize uint
Object uint
ObjectType ObjectType
PropertyName unsafe.Pointer
}
A message that describes the change to an object property.
type MIDIPacket ¶
A collection of simultaneous MIDI events.
type MIDIPacketList ¶
type MIDIPacketList struct {
NumPackets uint
Packet [1]MIDIPacket
}
A list of MIDI events the system sends to or receives from an endpoint.
type MIDISysexSendRequest ¶
type MIDISysexSendRequest struct {
Destination uint
Data unsafe.Pointer
BytesToSend uint
Complete uint8
Reserved [3]uint8
CompletionProc unsafe.Pointer
CompletionRefCon unsafe.Pointer
}
A request to asynchronously send a single system-exclusive (SysEx) event to a destination.
type MIDISysexSendRequestUMP ¶
type MIDISysexSendRequestUMP struct {
Destination uint
Words unsafe.Pointer
WordsToSend uint
Complete uint8
CompletionProc unsafe.Pointer
CompletionRefCon unsafe.Pointer
}
A request to asynchronously send a single universal MIDI packet (UMP) system-exclusive (SysEx) event to a destination.
type MIDIThruConnectionEndpoint ¶
A source or destination in a MIDI thru connection.
type MIDIThruConnectionParams ¶
type MIDIThruConnectionParams struct {
Version uint
NumSources uint
Sources [8]MIDIThruConnectionEndpoint
NumDestinations uint
Destinations [8]MIDIThruConnectionEndpoint
ChannelMap [16]uint8
LowVelocity uint8
HighVelocity uint8
LowNote uint8
HighNote uint8
NoteNumber MIDITransform
Velocity MIDITransform
KeyPressure MIDITransform
ChannelPressure MIDITransform
ProgramChange MIDITransform
PitchBend MIDITransform
FilterOutSysEx uint8
FilterOutMTC uint8
FilterOutBeatClock uint8
FilterOutTuneRequest uint8
Reserved2 [3]uint8
FilterOutAllControls uint8
NumControlTransforms uint16
NumMaps uint16
Reserved3 [4]uint16
}
A set of MIDI routings and transformations.
type MIDITransform ¶
type MIDITransform struct {
Transform TransformType
Param int16
}
The transformation of a single type of MIDI event.
type MIDIUniversalMessage ¶
type MIDIUniversalMessage struct {
Type MessageType
Group uint8
Reserved [3]uint8
Field3 unsafe.Pointer
}
A representation of all possible messages stored in a Universal MIDI packet.
type MIDIValueMap ¶
type MIDIValueMap struct {
Value [128]uint8
}
A custom lookup table to transform MIDI 7-bit values, as contained in note numbers, velocities, control values, and so on.
type MachVMRangeFlags ¶ added in v0.17.0
type MachVMRangeFlags int64
Bitmask — values may be combined with |.
const (
MachVMRangeFlagsNone MachVMRangeFlags = 0
)
func (MachVMRangeFlags) String ¶ added in v0.17.0
func (e MachVMRangeFlags) String() string
String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlavor ¶ added in v0.17.0
type MachVMRangeFlavor int64
const ( MachVMRangeFlavorInvalid MachVMRangeFlavor = 0 MachVMRangeFlavorV1 MachVMRangeFlavor = 1 )
func (MachVMRangeFlavor) String ¶ added in v0.17.0
func (e MachVMRangeFlavor) String() string
String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeTag ¶ added in v0.17.0
type MachVMRangeTag int64
const ( MachVMRangeTagDefault MachVMRangeTag = 0 MachVMRangeTagData MachVMRangeTag = 1 MachVMRangeTagFixed MachVMRangeTag = 2 )
func (MachVMRangeTag) String ¶ added in v0.17.0
func (e MachVMRangeTag) String() string
String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.
type MessageType ¶ added in v0.17.0
type MessageType uint32
Supported MIDI message types.
const ( KMIDIMessageTypeUtility MessageType = 0 KMIDIMessageTypeSystem MessageType = 1 KMIDIMessageTypeChannelVoice1 MessageType = 2 KMIDIMessageTypeSysEx MessageType = 3 KMIDIMessageTypeChannelVoice2 MessageType = 4 KMIDIMessageTypeData128 MessageType = 5 KMIDIMessageTypeFlexData MessageType = 13 KMIDIMessageTypeUnknownF MessageType = 15 KMIDIMessageTypeStream MessageType = 15 KMIDIMessageTypeInvalid MessageType = 255 )
func MIDIMessageTypeForUPWord ¶
func MIDIMessageTypeForUPWord(word int) MessageType
MIDIMessageTypeForUPWord calls the CoreMIDI framework function MIDIMessageTypeForUPWord.
func (MessageType) String ¶ added in v0.17.0
func (e MessageType) String() string
String returns the MessageType constant's name, or its numeric form when the value is not a known constant.
type MpoFlags ¶ added in v0.17.0
type MpoFlags int64
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type NetworkConnection ¶ added in v0.17.0
NetworkConnection is an idiomatic wrapper over the Objective-C class MIDINetworkConnection.
An object that connects a session to a host.
func ConnectionWithHost ¶ added in v0.17.0
func ConnectionWithHost(host *NetworkHost) *NetworkConnection
ConnectionWithHost creates a connection to the specified host.
func NetworkConnectionFromID ¶ added in v0.17.0
func NetworkConnectionFromID(id objc.ID) *NetworkConnection
NetworkConnectionFromID adopts an existing Objective-C object as a NetworkConnection (nil for 0), retaining it and registering a release finalizer.
func NewNetworkConnection ¶ added in v0.17.0
func NewNetworkConnection() *NetworkConnection
NewNetworkConnection creates a new NetworkConnection.
func (*NetworkConnection) Description ¶ added in v0.17.0
func (nc *NetworkConnection) Description() string
Description returns the object's -description text.
func (*NetworkConnection) Host ¶ added in v0.17.0
func (nc *NetworkConnection) Host() *NetworkHost
Host returns the host.
func (*NetworkConnection) IsEqual ¶ added in v0.17.0
func (nc *NetworkConnection) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*NetworkConnection) IsKind ¶ added in v0.17.0
func (nc *NetworkConnection) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*NetworkConnection) String ¶ added in v0.17.0
func (nc *NetworkConnection) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type NetworkConnectionPolicy ¶ added in v0.17.0
type NetworkConnectionPolicy uint64
const ( NetworkConnectionPolicy_NoOne NetworkConnectionPolicy = 0 NetworkConnectionPolicy_HostsInContactList NetworkConnectionPolicy = 1 NetworkConnectionPolicy_Anyone NetworkConnectionPolicy = 2 )
func (NetworkConnectionPolicy) String ¶ added in v0.17.0
func (e NetworkConnectionPolicy) String() string
String returns the NetworkConnectionPolicy constant's name, or its numeric form when the value is not a known constant.
type NetworkHost ¶ added in v0.17.0
NetworkHost is an idiomatic wrapper over the Objective-C class MIDINetworkHost.
An object that represents the host’s network address.
func HostWithNameAddressPort ¶ added in v0.17.0
func HostWithNameAddressPort(name string, address string, port int) *NetworkHost
HostWithNameAddressPort creates a host with the specified name, adress, and port.
func HostWithNameNetService ¶ added in v0.17.0
func HostWithNameNetService(name string, netService obj.Object) *NetworkHost
HostWithNameNetService creates a host with the specified name and net service.
func HostWithNameNetServiceNameNetServiceDomain ¶ added in v0.17.0
func HostWithNameNetServiceNameNetServiceDomain(name string, netServiceName string, netServiceDomain string) *NetworkHost
HostWithNameNetServiceNameNetServiceDomain creates a host with the specified name, net service name, and domain.
func NetworkHostFromID ¶ added in v0.17.0
func NetworkHostFromID(id objc.ID) *NetworkHost
NetworkHostFromID adopts an existing Objective-C object as a NetworkHost (nil for 0), retaining it and registering a release finalizer.
func NewNetworkHost ¶ added in v0.17.0
func NewNetworkHost() *NetworkHost
NewNetworkHost creates a new NetworkHost.
func (*NetworkHost) Address ¶ added in v0.17.0
func (nh *NetworkHost) Address() string
Address returns the address.
func (*NetworkHost) Description ¶ added in v0.17.0
func (nh *NetworkHost) Description() string
Description returns the object's -description text.
func (*NetworkHost) HasSameAddressAs ¶ added in v0.17.0
func (nh *NetworkHost) HasSameAddressAs(other *NetworkHost) bool
HasSameAddressAs compares this host instance with another to see if they share the same address value.
func (*NetworkHost) IsEqual ¶ added in v0.17.0
func (nh *NetworkHost) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*NetworkHost) IsKind ¶ added in v0.17.0
func (nh *NetworkHost) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*NetworkHost) Name ¶ added in v0.17.0
func (nh *NetworkHost) Name() string
Name returns the name.
func (*NetworkHost) NetServiceDomain ¶ added in v0.17.0
func (nh *NetworkHost) NetServiceDomain() string
NetServiceDomain returns the net service domain.
func (*NetworkHost) NetServiceName ¶ added in v0.17.0
func (nh *NetworkHost) NetServiceName() string
NetServiceName returns the net service name.
func (*NetworkHost) Port ¶ added in v0.17.0
func (nh *NetworkHost) Port() int
Port returns the port.
func (*NetworkHost) String ¶ added in v0.17.0
func (nh *NetworkHost) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
type NetworkSession ¶ added in v0.17.0
NetworkSession is an idiomatic wrapper over the Objective-C class MIDINetworkSession.
An object that represents a pairing of a source and destination.
func DefaultSession ¶ added in v0.17.0
func DefaultSession() *NetworkSession
DefaultSession returns the default singleton session.
func NetworkSessionFromID ¶ added in v0.17.0
func NetworkSessionFromID(id objc.ID) *NetworkSession
NetworkSessionFromID adopts an existing Objective-C object as a NetworkSession (nil for 0), retaining it and registering a release finalizer.
func NewNetworkSession ¶ added in v0.17.0
func NewNetworkSession() *NetworkSession
NewNetworkSession creates a new NetworkSession.
func (*NetworkSession) AddConnection ¶ added in v0.17.0
func (ns *NetworkSession) AddConnection(connection *NetworkConnection) bool
AddConnection adds a new connection to this session.
func (*NetworkSession) AddContact ¶ added in v0.17.0
func (ns *NetworkSession) AddContact(contact *NetworkHost) bool
AddContact adds a host as a contact.
func (*NetworkSession) ConnectionPolicy ¶ added in v0.17.0
func (ns *NetworkSession) ConnectionPolicy() NetworkConnectionPolicy
ConnectionPolicy returns the connection policy.
func (*NetworkSession) Connections ¶ added in v0.17.0
func (ns *NetworkSession) Connections() []*NetworkConnection
Connections returns the session’s set of MIDI network connections. The order of the returned elements is unspecified.
func (*NetworkSession) Contacts ¶ added in v0.17.0
func (ns *NetworkSession) Contacts() []*NetworkHost
Contacts returns the array of network hosts. The order of the returned elements is unspecified.
func (*NetworkSession) Description ¶ added in v0.17.0
func (ns *NetworkSession) Description() string
Description returns the object's -description text.
func (*NetworkSession) DestinationEndpoint ¶ added in v0.17.0
func (ns *NetworkSession) DestinationEndpoint() int
DestinationEndpoint returns the session’s destination endpoint.
func (*NetworkSession) IsEnabled ¶ added in v0.17.0
func (ns *NetworkSession) IsEnabled() bool
IsEnabled reports whether the object is enabled.
func (*NetworkSession) IsEqual ¶ added in v0.17.0
func (ns *NetworkSession) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*NetworkSession) IsKind ¶ added in v0.17.0
func (ns *NetworkSession) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*NetworkSession) LocalName ¶ added in v0.17.0
func (ns *NetworkSession) LocalName() string
LocalName returns the local name.
func (*NetworkSession) NetworkName ¶ added in v0.17.0
func (ns *NetworkSession) NetworkName() string
NetworkName returns the network name.
func (*NetworkSession) NetworkPort ¶ added in v0.17.0
func (ns *NetworkSession) NetworkPort() int
NetworkPort returns the network port.
func (*NetworkSession) RemoveConnection ¶ added in v0.17.0
func (ns *NetworkSession) RemoveConnection(connection *NetworkConnection) bool
RemoveConnection removes a connection from this session.
func (*NetworkSession) RemoveContact ¶ added in v0.17.0
func (ns *NetworkSession) RemoveContact(contact *NetworkHost) bool
RemoveContact removes a host as a contact.
func (*NetworkSession) SourceEndpoint ¶ added in v0.17.0
func (ns *NetworkSession) SourceEndpoint() int
SourceEndpoint returns the session’s source endpoint.
func (*NetworkSession) String ¶ added in v0.17.0
func (ns *NetworkSession) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*NetworkSession) WithConnectionPolicy ¶ added in v0.17.0
func (ns *NetworkSession) WithConnectionPolicy(connectionPolicy NetworkConnectionPolicy) *NetworkSession
WithConnectionPolicy sets the policy that determines who can connect to this session.
func (*NetworkSession) WithEnabled ¶ added in v0.17.0
func (ns *NetworkSession) WithEnabled(enabled bool) *NetworkSession
WithEnabled sets a Boolean value that determines whether the session is enabled.
type NoteAttribute ¶ added in v0.17.0
type NoteAttribute int64
const ( KMIDINoteAttributeNone NoteAttribute = 0 KMIDINoteAttributeManufacturerSpecific NoteAttribute = 1 KMIDINoteAttributeProfileSpecific NoteAttribute = 2 KMIDINoteAttributePitch NoteAttribute = 3 )
func (NoteAttribute) String ¶ added in v0.17.0
func (e NoteAttribute) String() string
String returns the NoteAttribute constant's name, or its numeric form when the value is not a known constant.
type NotificationMessageID ¶ added in v0.17.0
type NotificationMessageID int64
The types of state changes the system supports.
const ( // Some aspect of the current MIDI setup changed. KMIDIMsgSetupChanged NotificationMessageID = 1 // The system added a device, entity, or endpoint. KMIDIMsgObjectAdded NotificationMessageID = 2 // The system removed a device, entity, or endpoint. KMIDIMsgObjectRemoved NotificationMessageID = 3 // An object’s property value changed. KMIDIMsgPropertyChanged NotificationMessageID = 4 // The system created or disposed of a persistent MIDI Thru connection. KMIDIMsgThruConnectionsChanged NotificationMessageID = 5 // The system changed a serial port owner. KMIDIMsgSerialPortOwnerChanged NotificationMessageID = 6 // A driver I/O error occurred. KMIDIMsgIOError NotificationMessageID = 7 )
func (NotificationMessageID) String ¶ added in v0.17.0
func (e NotificationMessageID) String() string
String returns the NotificationMessageID constant's name, or its numeric form when the value is not a known constant.
type ObjectType ¶ added in v0.17.0
type ObjectType int64
The MIDI object types that the system supports.
const ( // A MIDI object with an undefined type. KMIDIObjectType_Other ObjectType = -1 // A MIDI device. KMIDIObjectType_Device ObjectType = 0 // A MIDI entity. KMIDIObjectType_Entity ObjectType = 1 // A MIDI source. KMIDIObjectType_Source ObjectType = 2 // A MIDI destination. KMIDIObjectType_Destination ObjectType = 3 // An external device. KMIDIObjectType_ExternalDevice ObjectType = 16 // An external entity. KMIDIObjectType_ExternalEntity ObjectType = 17 // An external source. KMIDIObjectType_ExternalSource ObjectType = 18 // An external destination. KMIDIObjectType_ExternalDestination ObjectType = 19 )
func MIDIObjectFindByUniqueID ¶
func MIDIObjectFindByUniqueID(inUniqueID int) (result int, outObject int, outObjectType ObjectType)
MIDIObjectFindByUniqueID calls the CoreMIDI framework function MIDIObjectFindByUniqueID.
func (ObjectType) String ¶ added in v0.17.0
func (e ObjectType) String() string
String returns the ObjectType constant's name, or its numeric form when the value is not a known constant.
type PerNoteManagementOptions ¶ added in v0.17.0
type PerNoteManagementOptions int64
Bitmask — values may be combined with |.
const ( KMIDIPerNoteManagementReset PerNoteManagementOptions = 1 KMIDIPerNoteManagementDetach PerNoteManagementOptions = 2 )
func (PerNoteManagementOptions) String ¶ added in v0.17.0
func (e PerNoteManagementOptions) String() string
String returns the PerNoteManagementOptions constant's name, or its numeric form when the value is not a known constant.
type Perm ¶ added in v0.17.0
type Perm int64
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type ProgramChangeOptions ¶ added in v0.17.0
type ProgramChangeOptions int64
Bitmask — values may be combined with |.
const (
KMIDIProgramChangeBankValid ProgramChangeOptions = 1
)
func (ProgramChangeOptions) String ¶ added in v0.17.0
func (e ProgramChangeOptions) String() string
String returns the ProgramChangeOptions constant's name, or its numeric form when the value is not a known constant.
type ProtocolID ¶ added in v0.17.0
type ProtocolID int64
Specifies a MIDI protocol variant.
const ( KMIDIProtocol_1_0 ProtocolID = 1 KMIDIProtocol_2_0 ProtocolID = 2 )
func (ProtocolID) String ¶ added in v0.17.0
func (e ProtocolID) String() string
String returns the ProtocolID constant's name, or its numeric form when the value is not a known constant.
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int64
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.
type SysExStatus ¶ added in v0.17.0
type SysExStatus uint32
MIDI System Exclusive (SysEx) types.
const ( KMIDISysExStatusComplete SysExStatus = 0 KMIDISysExStatusStart SysExStatus = 1 KMIDISysExStatusContinue SysExStatus = 2 KMIDISysExStatusEnd SysExStatus = 3 KMIDISysExStatusMixedDataSetHeader SysExStatus = 8 KMIDISysExStatusMixedDataSetPayload SysExStatus = 9 )
func (SysExStatus) String ¶ added in v0.17.0
func (e SysExStatus) String() string
String returns the SysExStatus constant's name, or its numeric form when the value is not a known constant.
type SystemStatus ¶ added in v0.17.0
type SystemStatus uint32
MIDI System status types.
const ( KMIDIStatusStartOfExclusive SystemStatus = 240 KMIDIStatusEndOfExclusive SystemStatus = 247 KMIDIStatusMTC SystemStatus = 241 KMIDIStatusSongPosPointer SystemStatus = 242 KMIDIStatusSongSelect SystemStatus = 243 KMIDIStatusTuneRequest SystemStatus = 246 KMIDIStatusTimingClock SystemStatus = 248 KMIDIStatusStart SystemStatus = 250 KMIDIStatusContinue SystemStatus = 251 KMIDIStatusStop SystemStatus = 252 KMIDIStatusActiveSending SystemStatus = 254 KMIDIStatusActiveSensing SystemStatus = 254 KMIDIStatusSystemReset SystemStatus = 255 )
func (SystemStatus) String ¶ added in v0.17.0
func (e SystemStatus) String() string
String returns the SystemStatus constant's name, or its numeric form when the value is not a known constant.
type TransformControlType ¶ added in v0.17.0
type TransformControlType int64
A set of values that indicate how to interpret control numbers.
const ( // A 7-bit control type. KMIDIControlType_7Bit TransformControlType = 0 // A 14-bit control type. KMIDIControlType_14Bit TransformControlType = 1 // A 7-bit Registered Parameter Number (RPN). KMIDIControlType_7BitRPN TransformControlType = 2 // A 14-bit Registered Parameter Number (RPN). KMIDIControlType_14BitRPN TransformControlType = 3 // A 7-bit Nonregistered Parameter Number (RPN). KMIDIControlType_7BitNRPN TransformControlType = 4 // A 14-bit Nonregistered Parameter Number (RPN). KMIDIControlType_14BitNRPN TransformControlType = 5 )
func (TransformControlType) String ¶ added in v0.17.0
func (e TransformControlType) String() string
String returns the TransformControlType constant's name, or its numeric form when the value is not a known constant.
type TransformType ¶ added in v0.17.0
type TransformType int64
Values that specify the type of MIDI transformation.
const ( // No transformation. KMIDITransform_None TransformType = 0 // A transformation that filters out an event type. KMIDITransform_FilterOut TransformType = 1 // A transformation that changes a specified control number to a supplied parameter value. KMIDITransform_MapControl TransformType = 2 // A transform that adds a parameter value. KMIDITransform_Add TransformType = 8 // A transform that multiplies by the specified parameter value. KMIDITransform_Scale TransformType = 9 // A transform that sets the minimum value to the specified parameter value. KMIDITransform_MinValue TransformType = 10 // A transform that sets the maximum value to the specified parameter value. KMIDITransform_MaxValue TransformType = 11 // A transform that maps one value to another. KMIDITransform_MapValue TransformType = 12 )
func (TransformType) String ¶ added in v0.17.0
func (e TransformType) String() string
String returns the TransformType constant's name, or its numeric form when the value is not a known constant.
type UMPCIObjectBackingType ¶ added in v0.17.0
type UMPCIObjectBackingType int64
const ( KMIDIUMPCIObjectBackingTypeUnknown UMPCIObjectBackingType = 0 KMIDIUMPCIObjectBackingTypeVirtual UMPCIObjectBackingType = 1 KMIDIUMPCIObjectBackingTypeDriverDevice UMPCIObjectBackingType = 2 KMIDIUMPCIObjectBackingTypeUSBMIDI UMPCIObjectBackingType = 3 )
func (UMPCIObjectBackingType) String ¶ added in v0.17.0
func (e UMPCIObjectBackingType) String() string
String returns the UMPCIObjectBackingType constant's name, or its numeric form when the value is not a known constant.
type UMPCIProfile ¶ added in v0.17.0
UMPCIProfile is an idiomatic wrapper over the Objective-C class MIDIUMPCIProfile.
func NewUMPCIProfile ¶ added in v0.17.0
func NewUMPCIProfile() *UMPCIProfile
NewUMPCIProfile creates a new UMPCIProfile.
func UMPCIProfileFromID ¶ added in v0.17.0
func UMPCIProfileFromID(id objc.ID) *UMPCIProfile
UMPCIProfileFromID adopts an existing Objective-C object as a UMPCIProfile (nil for 0), retaining it and registering a release finalizer.
func (*UMPCIProfile) Description ¶ added in v0.17.0
func (up *UMPCIProfile) Description() string
Description returns the object's -description text.
func (*UMPCIProfile) EnabledChannelCount ¶ added in v0.17.0
func (up *UMPCIProfile) EnabledChannelCount() uint16
EnabledChannelCount returns the number of channels currently enabled on the Profile. When the profile is disabled, this value is set to 0.
func (*UMPCIProfile) FirstChannel ¶ added in v0.17.0
func (up *UMPCIProfile) FirstChannel() uint8
FirstChannel returns the first channel number supported on the Profile.
func (*UMPCIProfile) GroupOffset ¶ added in v0.17.0
func (up *UMPCIProfile) GroupOffset() uint8
GroupOffset returns for Group profiles defined on Function Blocks, the value to be added to the lowest Function Block UMP Group for messaging (e.g., a Group Profile defined on the second Group of a Function Block has a groupOffset of 1).
func (*UMPCIProfile) IsEnabled ¶ added in v0.17.0
func (up *UMPCIProfile) IsEnabled() bool
IsEnabled reports whether the enable state of the Profile.
func (*UMPCIProfile) IsEqual ¶ added in v0.17.0
func (up *UMPCIProfile) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*UMPCIProfile) IsKind ¶ added in v0.17.0
func (up *UMPCIProfile) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*UMPCIProfile) Name ¶ added in v0.17.0
func (up *UMPCIProfile) Name() string
Name returns the name of the MIDI-CI proifle.
func (*UMPCIProfile) ProfileType ¶ added in v0.17.0
func (up *UMPCIProfile) ProfileType() CIProfileType
ProfileType returns the type of MIDI-CI Profile, i.e., single-channel, multichannel, Group, or Function Block.
func (*UMPCIProfile) SetProfileStateEnabledChannelCount ¶ added in v0.17.0
func (up *UMPCIProfile) SetProfileStateEnabledChannelCount(isEnabled bool, enabledChannelCount uint16) error
SetProfileStateEnabledChannelCount issue a Set Profile On or Set Profile Off request on this profile using the MIDI server's MUID. The result of this operation, if any, is received via the profile notification posted by the MIDICIDeviceManager. Returns YES if the request is valid and the request was dispatched.
func (*UMPCIProfile) String ¶ added in v0.17.0
func (up *UMPCIProfile) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*UMPCIProfile) TotalChannelCount ¶ added in v0.17.0
func (up *UMPCIProfile) TotalChannelCount() uint16
TotalChannelCount returns the total number of channels supported by the Profile.
type UMPEndpoint ¶ added in v0.17.0
UMPEndpoint is an idiomatic wrapper over the Objective-C class MIDIUMPEndpoint.
UMPEndpoint is an abstract base — you do not construct it directly. Construct one of UMPMutableEndpoint and pass it where a UMPEndpoint is accepted.
func UMPEndpointFromID ¶ added in v0.17.0
func UMPEndpointFromID(id objc.ID) *UMPEndpoint
UMPEndpointFromID adopts an existing Objective-C object as a UMPEndpoint (nil for 0), retaining it and registering a release finalizer.
func (*UMPEndpoint) Description ¶ added in v0.17.0
func (ue *UMPEndpoint) Description() string
Description returns the object's -description text.
func (*UMPEndpoint) DeviceInfo ¶ added in v0.17.0
func (ue *UMPEndpoint) DeviceInfo() *MIDI2DeviceInfo
DeviceInfo returns the MIDI 2.0 Device identity information associated with the device.
func (*UMPEndpoint) EndpointType ¶ added in v0.17.0
func (ue *UMPEndpoint) EndpointType() UMPCIObjectBackingType
EndpointType indicates the type of UMP Endpoint, if known.
func (*UMPEndpoint) FunctionBlocks ¶ added in v0.17.0
func (ue *UMPEndpoint) FunctionBlocks() []*UMPFunctionBlock
FunctionBlocks returns the Function Blocks associated with the UMP endpoint, if any.
FunctionBlocks returns the collection as a Go slice.
func (*UMPEndpoint) HasJRTSReceiveCapability ¶ added in v0.17.0
func (ue *UMPEndpoint) HasJRTSReceiveCapability() bool
HasJRTSReceiveCapability reports whether jitter-reduction timestamp receive capability.
func (*UMPEndpoint) HasJRTSTransmitCapability ¶ added in v0.17.0
func (ue *UMPEndpoint) HasJRTSTransmitCapability() bool
HasJRTSTransmitCapability reports whether jitter-reduction timestamp transmit capability
func (*UMPEndpoint) HasStaticFunctionBlocks ¶ added in v0.17.0
func (ue *UMPEndpoint) HasStaticFunctionBlocks() bool
HasStaticFunctionBlocks reports whether indicates if the Function Block state will never change once discovered.
func (*UMPEndpoint) IsEqual ¶ added in v0.17.0
func (ue *UMPEndpoint) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*UMPEndpoint) IsKind ¶ added in v0.17.0
func (ue *UMPEndpoint) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*UMPEndpoint) MIDIDestination ¶ added in v0.17.0
func (ue *UMPEndpoint) MIDIDestination() int
MIDIDestination returns the MIDI destination for the UMP endpoint.
func (*UMPEndpoint) MIDIProtocol ¶ added in v0.17.0
func (ue *UMPEndpoint) MIDIProtocol() ProtocolID
MIDIProtocol returns the MIDI protocol currently used by the UMP endpoint.
func (*UMPEndpoint) MIDISource ¶ added in v0.17.0
func (ue *UMPEndpoint) MIDISource() int
MIDISource returns the MIDI source for the UMP endpoint.
func (*UMPEndpoint) Name ¶ added in v0.17.0
func (ue *UMPEndpoint) Name() string
Name returns the UTF-8 encoded name of the UMP endpoint. The name shall not be any longer than 98 bytes of UTF-8 Text.
func (*UMPEndpoint) ProductInstanceID ¶ added in v0.17.0
func (ue *UMPEndpoint) ProductInstanceID() string
ProductInstanceID returns serial number (or similar value) uniquely identifying this manufacturer/family/model, up to 42 bytes of ASCII Text in the ordinal range 32-126.
func (*UMPEndpoint) String ¶ added in v0.17.0
func (ue *UMPEndpoint) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*UMPEndpoint) SupportedMIDIProtocols ¶ added in v0.17.0
func (ue *UMPEndpoint) SupportedMIDIProtocols() UMPProtocolOptions
SupportedMIDIProtocols returns all protocols the UMP endpoint is capable of using for communication.
func (*UMPEndpoint) WithFunctionBlocks ¶ added in v0.17.0
func (ue *UMPEndpoint) WithFunctionBlocks(items ...UMPFunctionBlockProvider) *UMPEndpoint
WithFunctionBlocks sets the Function Blocks associated with the UMP endpoint, if any.
type UMPEndpointManager ¶ added in v0.17.0
UMPEndpointManager is an idiomatic wrapper over the Objective-C class MIDIUMPEndpointManager.
func MIDIUMPEndpointManagerSharedInstance ¶
func MIDIUMPEndpointManagerSharedInstance() *UMPEndpointManager
MIDIUMPEndpointManagerSharedInstance returns retrieve the shared UMP Endpoint manager for the client process. After first access to this property, the client process may begin observing notifications which are posted when the system-wide cache changes.
func NewUMPEndpointManager ¶ added in v0.17.0
func NewUMPEndpointManager() *UMPEndpointManager
NewUMPEndpointManager creates a new UMPEndpointManager.
func UMPEndpointManagerFromID ¶ added in v0.17.0
func UMPEndpointManagerFromID(id objc.ID) *UMPEndpointManager
UMPEndpointManagerFromID adopts an existing Objective-C object as a UMPEndpointManager (nil for 0), retaining it and registering a release finalizer.
func (*UMPEndpointManager) Description ¶ added in v0.17.0
func (uem *UMPEndpointManager) Description() string
Description returns the object's -description text.
func (*UMPEndpointManager) IsEqual ¶ added in v0.17.0
func (uem *UMPEndpointManager) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*UMPEndpointManager) IsKind ¶ added in v0.17.0
func (uem *UMPEndpointManager) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*UMPEndpointManager) String ¶ added in v0.17.0
func (uem *UMPEndpointManager) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*UMPEndpointManager) UMPEndpoints ¶ added in v0.17.0
func (uem *UMPEndpointManager) UMPEndpoints() []*UMPEndpoint
UMPEndpoints returns a list of UMP endpoints discovered using UMP endpoint discovery.
UMPEndpoints returns the collection as a Go slice.
type UMPEndpointProvider ¶ added in v0.17.0
UMPEndpointProvider is accepted wherever a MIDIUMPEndpoint (or one of its subclasses) is expected.
type UMPFunctionBlock ¶ added in v0.17.0
UMPFunctionBlock is an idiomatic wrapper over the Objective-C class MIDIUMPFunctionBlock.
UMPFunctionBlock is an abstract base — you do not construct it directly. Construct one of UMPMutableFunctionBlock and pass it where a UMPFunctionBlock is accepted.
func UMPFunctionBlockFromID ¶ added in v0.17.0
func UMPFunctionBlockFromID(id objc.ID) *UMPFunctionBlock
UMPFunctionBlockFromID adopts an existing Objective-C object as a UMPFunctionBlock (nil for 0), retaining it and registering a release finalizer.
func (*UMPFunctionBlock) Description ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) Description() string
Description returns the object's -description text.
func (*UMPFunctionBlock) Direction ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) Direction() UMPFunctionBlockDirection
Direction returns the direction of the Function Block: input, output, or bidirectional.
func (*UMPFunctionBlock) FirstGroup ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) FirstGroup() uint8
FirstGroup returns the first Group spanned by this Function Block.
func (*UMPFunctionBlock) FunctionBlockID ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) FunctionBlockID() uint8
FunctionBlockID returns the device-unique ID for this Function Block.
func (*UMPFunctionBlock) IsEnabled ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) IsEnabled() bool
IsEnabled reports whether the enable state of this Function Block.
func (*UMPFunctionBlock) IsEqual ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*UMPFunctionBlock) IsKind ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*UMPFunctionBlock) MIDI1Info ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) MIDI1Info() UMPFunctionBlockMIDI1Info
MIDI1Info returns MIDI 1.0 speed information.
func (*UMPFunctionBlock) MaxSysEx8Streams ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) MaxSysEx8Streams() uint8
MaxSysEx8Streams returns the maximum number of simultaneous Sysex8 streams.
func (*UMPFunctionBlock) MidiCIDevice ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) MidiCIDevice() *CIDevice
MidiCIDevice returns retrieve the MIDICIDevice class interface if the Function Block supports MIDI-CI. If a Function Block was created as a MIDICIDevice object, this property will provide an in-place MIDICIDevice interface that may be used with MIDI-CI API. If the device was not created as a MIDICIDevice, this method returns nil.
func (*UMPFunctionBlock) Name ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) Name() string
Name returns a string containing the Function Block's name.
func (*UMPFunctionBlock) String ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*UMPFunctionBlock) TotalGroupsSpanned ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) TotalGroupsSpanned() uint8
TotalGroupsSpanned returns the total number of groups spanned by this Function Block.
func (*UMPFunctionBlock) UIHint ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) UIHint() UMPFunctionBlockUIHint
UIHint returns a hint for UI about the primary usage of this Function Block.
func (*UMPFunctionBlock) UMPEndpoint ¶ added in v0.17.0
func (ufb *UMPFunctionBlock) UMPEndpoint() *UMPEndpoint
UMPEndpoint returns the UMP Endpoint to which this Function Block is registered. If the function block does not belong to an endpoint this property will be nil.
type UMPFunctionBlockDirection ¶ added in v0.17.0
type UMPFunctionBlockDirection int64
const ( KMIDIUMPFunctionBlockDirectionUnknown UMPFunctionBlockDirection = 0 KMIDIUMPFunctionBlockDirectionInput UMPFunctionBlockDirection = 1 KMIDIUMPFunctionBlockDirectionOutput UMPFunctionBlockDirection = 2 KMIDIUMPFunctionBlockDirectionBidirectional UMPFunctionBlockDirection = 3 )
func (UMPFunctionBlockDirection) String ¶ added in v0.17.0
func (e UMPFunctionBlockDirection) String() string
String returns the UMPFunctionBlockDirection constant's name, or its numeric form when the value is not a known constant.
type UMPFunctionBlockMIDI1Info ¶ added in v0.17.0
type UMPFunctionBlockMIDI1Info int64
const ( KMIDIUMPFunctionBlockMIDI1InfoNotMIDI1 UMPFunctionBlockMIDI1Info = 0 KMIDIUMPFunctionBlockMIDI1InfoUnrestrictedBandwidth UMPFunctionBlockMIDI1Info = 1 KMIDIUMPFunctionBlockMIDI1InfoRestrictedBandwidth UMPFunctionBlockMIDI1Info = 2 )
func (UMPFunctionBlockMIDI1Info) String ¶ added in v0.17.0
func (e UMPFunctionBlockMIDI1Info) String() string
String returns the UMPFunctionBlockMIDI1Info constant's name, or its numeric form when the value is not a known constant.
type UMPFunctionBlockProvider ¶ added in v0.17.0
type UMPFunctionBlockProvider interface {
objref.Object
// contains filtered or unexported methods
}
UMPFunctionBlockProvider is accepted wherever a MIDIUMPFunctionBlock (or one of its subclasses) is expected.
type UMPFunctionBlockUIHint ¶ added in v0.17.0
type UMPFunctionBlockUIHint int64
const ( KMIDIUMPFunctionBlockUIHintUnknown UMPFunctionBlockUIHint = 0 KMIDIUMPFunctionBlockUIHintReceiver UMPFunctionBlockUIHint = 1 KMIDIUMPFunctionBlockUIHintSender UMPFunctionBlockUIHint = 2 KMIDIUMPFunctionBlockUIHintSenderReceiver UMPFunctionBlockUIHint = 3 )
func (UMPFunctionBlockUIHint) String ¶ added in v0.17.0
func (e UMPFunctionBlockUIHint) String() string
String returns the UMPFunctionBlockUIHint constant's name, or its numeric form when the value is not a known constant.
type UMPMutableEndpoint ¶ added in v0.17.0
type UMPMutableEndpoint struct {
UMPEndpoint
}
UMPMutableEndpoint is an idiomatic wrapper over the Objective-C class MIDIUMPMutableEndpoint.
It embeds UMPEndpoint, promoting that type's methods.
func NewUMPMutableEndpoint ¶ added in v0.17.0
func NewUMPMutableEndpoint() *UMPMutableEndpoint
NewUMPMutableEndpoint creates a new UMPMutableEndpoint.
func UMPMutableEndpointFromID ¶ added in v0.17.0
func UMPMutableEndpointFromID(id objc.ID) *UMPMutableEndpoint
UMPMutableEndpointFromID adopts an existing Objective-C object as a UMPMutableEndpoint (nil for 0), retaining it and registering a release finalizer.
func (*UMPMutableEndpoint) IsEnabled ¶ added in v0.17.0
func (ume *UMPMutableEndpoint) IsEnabled() bool
IsEnabled reports whether the enable state of the endpoint.
func (*UMPMutableEndpoint) MutableFunctionBlocks ¶ added in v0.17.0
func (ume *UMPMutableEndpoint) MutableFunctionBlocks() []*UMPMutableFunctionBlock
MutableFunctionBlocks returns the Function Blocks associated with the UMP endpoint, if any.
MutableFunctionBlocks returns the collection as a Go slice.
func (*UMPMutableEndpoint) RegisterFunctionBlocksMarkAsStatic ¶ added in v0.17.0
func (ume *UMPMutableEndpoint) RegisterFunctionBlocksMarkAsStatic(functionBlocks []*UMPMutableFunctionBlock, markAsStatic bool) error
RegisterFunctionBlocksMarkAsStatic register or replace Function Blocks for a disabled client-created MIDIUMPEndpoint. This operation will fail if the array contains any disabled Function Blocks but the MIDIUMPEndpoint Function Block configuration is static. Returns YES if the Function Block configuration was set successfully.
func (*UMPMutableEndpoint) SetEnabled ¶ added in v0.17.0
func (ume *UMPMutableEndpoint) SetEnabled(isEnabled bool) error
SetEnabled enable a mutable UMP endpoint in the system-wide UMP endpoint cache. A MIDIUMPMutableEndpoint must be cache enabled before it is visible via API. Note that Function Blocks may only be registered to uncached MIDIUMPMutableEndpoint objects.
func (*UMPMutableEndpoint) SetName ¶ added in v0.17.0
func (ume *UMPMutableEndpoint) SetName(name string) error
SetName set the endpoints name. This operation will fail if the name could not be set.
func (*UMPMutableEndpoint) WithFunctionBlocks ¶ added in v0.17.0
func (ume *UMPMutableEndpoint) WithFunctionBlocks(items ...UMPFunctionBlockProvider) *UMPMutableEndpoint
WithFunctionBlocks sets the Function Blocks associated with the UMP endpoint, if any.
func (*UMPMutableEndpoint) WithMutableFunctionBlocks ¶ added in v0.17.0
func (ume *UMPMutableEndpoint) WithMutableFunctionBlocks(items ...*UMPMutableFunctionBlock) *UMPMutableEndpoint
WithMutableFunctionBlocks sets the Function Blocks associated with the UMP endpoint, if any.
type UMPMutableFunctionBlock ¶ added in v0.17.0
type UMPMutableFunctionBlock struct {
UMPFunctionBlock
}
UMPMutableFunctionBlock is an idiomatic wrapper over the Objective-C class MIDIUMPMutableFunctionBlock.
It embeds UMPFunctionBlock, promoting that type's methods.
func NewUMPMutableFunctionBlockWithNameDirectionFirstGroupTotalGroupsSpannedMaxSysEx8StreamsMIDI1InfoUIHintIsEnabled ¶ added in v0.17.0
func NewUMPMutableFunctionBlockWithNameDirectionFirstGroupTotalGroupsSpannedMaxSysEx8StreamsMIDI1InfoUIHintIsEnabled(name string, direction UMPFunctionBlockDirection, firstGroup uint8, totalGroupsSpanned uint8, maxSysEx8Streams uint8, midi1Info UMPFunctionBlockMIDI1Info, uiHint UMPFunctionBlockUIHint, isEnabled bool) *UMPMutableFunctionBlock
NewUMPMutableFunctionBlockWithNameDirectionFirstGroupTotalGroupsSpannedMaxSysEx8StreamsMIDI1InfoUIHintIsEnabled the initializer for constructing a Function Block. This operation will fail if virtual MIDI endpoint creation is not allowed (for example, on iOS, if your app doesn't list 'audio' in UIBackgroundModes).
func UMPMutableFunctionBlockFromID ¶ added in v0.17.0
func UMPMutableFunctionBlockFromID(id objc.ID) *UMPMutableFunctionBlock
UMPMutableFunctionBlockFromID adopts an existing Objective-C object as a UMPMutableFunctionBlock (nil for 0), retaining it and registering a release finalizer.
func (*UMPMutableFunctionBlock) ReconfigureWithFirstGroupDirectionMIDI1InfoUIHint ¶ added in v0.17.0
func (umfb *UMPMutableFunctionBlock) ReconfigureWithFirstGroupDirectionMIDI1InfoUIHint(firstGroup uint8, direction UMPFunctionBlockDirection, midi1Info UMPFunctionBlockMIDI1Info, uiHint UMPFunctionBlockUIHint) error
ReconfigureWithFirstGroupDirectionMIDI1InfoUIHint reconfigure a Function Block. If a mutable Function Block has not been registered to a CI device or was registered in a non-static Function Block configuration, the first Group can be changed if the final Group spanned by the Function Block is valid after the Function Block has been relocated. Returns YES if the first Group of the Function Block was changed.
func (*UMPMutableFunctionBlock) SetEnabled ¶ added in v0.17.0
func (umfb *UMPMutableFunctionBlock) SetEnabled(isEnabled bool) error
SetEnabled set whether this Function Block is enabled or disabled. If a Function Block is registered to UMP Endpoint as part of a static configuration, the state must always be enabled and may not change. If registered to a UMP Endpoint, changes to the Function Block state are propagated to the system-wide cache.
func (*UMPMutableFunctionBlock) SetName ¶ added in v0.17.0
func (umfb *UMPMutableFunctionBlock) SetName(name string) error
SetName set the function block name. The Function Block name string. Updating the name of a Function Block will cause the updated name to be propagated to all local copies of the system-wide cache.
type UMPProtocolOptions ¶ added in v0.17.0
type UMPProtocolOptions int64
Bitmask — values may be combined with |.
const ( KMIDIUMPProtocolOptionsMIDI1 UMPProtocolOptions = 1 KMIDIUMPProtocolOptionsMIDI2 UMPProtocolOptions = 2 )
func (UMPProtocolOptions) String ¶ added in v0.17.0
func (e UMPProtocolOptions) String() string
String returns the UMPProtocolOptions constant's name, or its numeric form when the value is not a known constant.
type UMPStreamMessageFormat ¶
type UMPStreamMessageFormat int64
const ( KUMPStreamMessageFormatComplete UMPStreamMessageFormat = 0 KUMPStreamMessageFormatStart UMPStreamMessageFormat = 1 KUMPStreamMessageFormatContinuing UMPStreamMessageFormat = 2 KUMPStreamMessageFormatEnd UMPStreamMessageFormat = 3 )
func (UMPStreamMessageFormat) String ¶
func (e UMPStreamMessageFormat) String() string
String returns the UMPStreamMessageFormat constant's name, or its numeric form when the value is not a known constant.
type UMPStreamMessageStatus ¶
type UMPStreamMessageStatus uint32
const ( KUMPStreamMessageStatusEndpointDiscovery UMPStreamMessageStatus = 0 KUMPStreamMessageStatusEndpointInfoNotification UMPStreamMessageStatus = 1 KUMPStreamMessageStatusDeviceIdentityNotification UMPStreamMessageStatus = 2 KUMPStreamMessageStatusEndpointNameNotification UMPStreamMessageStatus = 3 KUMPStreamMessageStatusProductInstanceIDNotification UMPStreamMessageStatus = 4 KUMPStreamMessageStatusStreamConfigurationRequest UMPStreamMessageStatus = 5 KUMPStreamMessageStatusStreamConfigurationNotification UMPStreamMessageStatus = 6 KUMPStreamMessageStatusFunctionBlockDiscovery UMPStreamMessageStatus = 16 KUMPStreamMessageStatusFunctionBlockInfoNotification UMPStreamMessageStatus = 17 KUMPStreamMessageStatusFunctionBlockNameNotification UMPStreamMessageStatus = 18 KUMPStreamMessageStatusStartOfClip UMPStreamMessageStatus = 32 KUMPStreamMessageStatusEndOfClip UMPStreamMessageStatus = 33 )
func (UMPStreamMessageStatus) String ¶
func (e UMPStreamMessageStatus) String() string
String returns the UMPStreamMessageStatus constant's name, or its numeric form when the value is not a known constant.
type UtilityStatus ¶ added in v0.17.0
type UtilityStatus uint32
const ( KMIDIUtilityStatusNOOP UtilityStatus = 0 KMIDIUtilityStatusJitterReductionClock UtilityStatus = 1 KMIDIUtilityStatusJitterReductionTimestamp UtilityStatus = 2 KMIDIUtilityStatusDeltaClockstampTicksPerQuarterNote UtilityStatus = 3 KMIDIUtilityStatusTicksSinceLastEvent UtilityStatus = 4 )
func (UtilityStatus) String ¶ added in v0.17.0
func (e UtilityStatus) String() string
String returns the UtilityStatus constant's name, or its numeric form when the value is not a known constant.
type VirtualMemoryGuardExceptionCode ¶ added in v0.17.0
type VirtualMemoryGuardExceptionCode int64
const ( KGUARD_EXC_DEALLOC_GAP VirtualMemoryGuardExceptionCode = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE VirtualMemoryGuardExceptionCode = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE VirtualMemoryGuardExceptionCode = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE VirtualMemoryGuardExceptionCode = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE VirtualMemoryGuardExceptionCode = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE VirtualMemoryGuardExceptionCode = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE VirtualMemoryGuardExceptionCode = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION VirtualMemoryGuardExceptionCode = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY VirtualMemoryGuardExceptionCode = 13 KGUARD_EXC_SEC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 99 KGUARD_EXC_SEC_COPY_DENIED VirtualMemoryGuardExceptionCode = 100 KGUARD_EXC_SEC_SHARING_DENIED VirtualMemoryGuardExceptionCode = 101 KGUARD_EXC_MTE_SYNC_FAULT VirtualMemoryGuardExceptionCode = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204 )
func (VirtualMemoryGuardExceptionCode) String ¶ added in v0.17.0
func (e VirtualMemoryGuardExceptionCode) String() string
String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.
type XpcListenerCreateFlags ¶ added in v0.17.0
type XpcListenerCreateFlags int64
Bitmask — values may be combined with |.
const ( XpcListenerCreateFlagsNone XpcListenerCreateFlags = 0 XpcListenerCreateFlagsInactive XpcListenerCreateFlags = 1 XpcListenerCreateFlagsForceMach XpcListenerCreateFlags = 2 XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4 )
func (XpcListenerCreateFlags) String ¶ added in v0.17.0
func (e XpcListenerCreateFlags) String() string
String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.
type XpcSessionCreateFlags ¶ added in v0.17.0
type XpcSessionCreateFlags int64
Bitmask — values may be combined with |.
const ( XpcSessionCreateFlagsNone XpcSessionCreateFlags = 0 XpcSessionCreateFlagsInactive XpcSessionCreateFlags = 1 XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2 )
func (XpcSessionCreateFlags) String ¶ added in v0.17.0
func (e XpcSessionCreateFlags) String() string
String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.
Source Files
¶
- MIDI2DeviceInfo_generated.go
- MIDICIDeviceInfo_generated.go
- MIDICIDeviceManager_generated.go
- MIDICIDevice_generated.go
- MIDICIDiscoveredNode_generated.go
- MIDICIDiscoveryManager_generated.go
- MIDICIProfileResponderDelegate_delegate_generated.go
- MIDICIProfileState_generated.go
- MIDICIProfile_generated.go
- MIDICIResponder_generated.go
- MIDICISession_generated.go
- MIDINetworkConnection_generated.go
- MIDINetworkHost_generated.go
- MIDINetworkSession_generated.go
- MIDIUMPCIProfile_generated.go
- MIDIUMPEndpointManager_generated.go
- MIDIUMPEndpoint_generated.go
- MIDIUMPFunctionBlock_generated.go
- MIDIUMPMutableEndpoint_generated.go
- MIDIUMPMutableFunctionBlock_generated.go
- coremidi_cffunctions_generated.go
- coremidi_cfunctions_generated.go
- coremidi_classmethods_generated.go
- coremidi_constants_generated.go
- coremidi_enums_generated.go
- coremidi_providers_generated.go
- coremidi_runtime_generated.go
- coremidi_structs_generated.go
- doc.go