Documentation
¶
Overview ¶
Package coremediaio provides Go bindings for the CoreMediaIO framework.
Securely support custom camera devices in macOS.
Use the Core Media I/O framework to enable support for custom camera devices in macOS. Starting in macOS 12.3, the framework builds on [System Extensions] to enable you to support custom devices while maintaining system privacy and security protections. The system prevents apps from loading extension code into their process to ensure that they can’t bypass macOS privacy protections or mask their identity.
Providers ¶
- Creating a camera extension with Core Media I/O: Build high-performance camera drivers that are secure and simple to deploy.
- Overriding the default USB video class extension: Create a simple DriverKit extension to override the default driver-matching behavior for USB devices.
- CMIOExtensionProviderSource: A protocol for objects that act as provider sources.
Devices ¶
- CMIOExtensionDeviceSource: A protocol for objects that act as device sources.
Streams ¶
- CMIOExtensionStreamSource: A protocol for objects that act as stream sources.
Properties ¶
- CMIOExtensionProperty: A structure that defines the properties that providers, devices, and streams support.
- CMIOExtensionInfoDictionaryKey: A key that specifies the extension information dictionary.
- CMIOExtensionMachServiceNameKey: A key that specifies the mach service name.//
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- Variables
- func CMIODeviceProcessAVCCommand(deviceID CMIODeviceID, ioAVCCommand *CMIODeviceAVCCommand) int32
- func CMIODeviceProcessRS422Command(deviceID CMIODeviceID, ioRS422Command *CMIODeviceRS422Command) int32
- func CMIODeviceStartStream(deviceID CMIODeviceID, streamID CMIOStreamID) int32
- func CMIODeviceStopStream(deviceID CMIODeviceID, streamID CMIOStreamID) int32
- func CMIOObjectAddPropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectAddPropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectCreate(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, ...) int32deprecated
- func CMIOObjectGetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectGetPropertyDataSize(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectHasProperty(objectID CMIOObjectID, address *CMIOObjectPropertyAddress) bool
- func CMIOObjectIsPropertySettable(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, isSettable *bool) int32
- func CMIOObjectPropertiesChanged(owningPlugIn CMIOHardwarePlugInRef, objectID CMIOObjectID, ...) int32deprecated
- func CMIOObjectRemovePropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectRemovePropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectSetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectShow(objectID CMIOObjectID)
- func CMIOObjectsPublishedAndDied(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, ...) int32deprecated
- func CMIOSampleBufferCopyNonRequiredAttachments(sourceSBuf uintptr, destSBuf uintptr, attachmentMode uint32) int32
- func CMIOSampleBufferCopySampleAttachments(sourceSBuf uintptr, destSBuf uintptr) int32
- func CMIOSampleBufferCreate(allocator corefoundation.CFAllocatorRef, dataBuffer coremedia.CMBlockBufferRef, ...) int32
- func CMIOSampleBufferCreateForImageBuffer(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMIOSampleBufferCreateNoDataMarker(allocator corefoundation.CFAllocatorRef, noDataEvent uint32, ...) int32
- func CMIOSampleBufferGetDiscontinuityFlags(sbuf uintptr) uint32
- func CMIOSampleBufferGetSequenceNumber(sbuf uintptr) uint64
- func CMIOSampleBufferSetDiscontinuityFlags(allocator corefoundation.CFAllocatorRef, sbuf uintptr, ...)
- func CMIOSampleBufferSetSequenceNumber(allocator corefoundation.CFAllocatorRef, sbuf uintptr, sequenceNumber uint64)
- func CMIOStreamClockConvertHostTimeToDeviceTime(hostTime uint64, clock corefoundation.CFTypeRef) coremedia.CMTime
- func CMIOStreamClockCreate(allocator corefoundation.CFAllocatorRef, clockName corefoundation.CFStringRef, ...) int32
- func CMIOStreamClockInvalidate(clock corefoundation.CFTypeRef) int32
- func CMIOStreamClockPostTimingEvent(eventTime coremedia.CMTime, hostTime uint64, resynchronize bool, ...) int32
- func CMIOStreamCopyBufferQueue(streamID CMIOStreamID, queueAlteredProc CMIODeviceStreamQueueAlteredProc, ...) int32
- func CMIOStreamDeckCueTo(streamID CMIOStreamID, frameNumber uint64, playOnCue bool) int32
- func CMIOStreamDeckJog(streamID CMIOStreamID, speed int32) int32
- func CMIOStreamDeckPlay(streamID CMIOStreamID) int32
- func CMIOStreamDeckStop(streamID CMIOStreamID) int32
- func NewCMIOObjectPropertyListenerBlock(handler CMIOObjectPropertyListenerBlock) (objc.ID, func())
- type CMIOClassID
- type CMIOControlID
- type CMIODeviceAVCCommand
- func (s *CMIODeviceAVCCommand) MCommand() *uint8
- func (s *CMIODeviceAVCCommand) MCommandLength() uint32
- func (s *CMIODeviceAVCCommand) MResponse() *uint8
- func (s *CMIODeviceAVCCommand) MResponseLength() uint32
- func (s *CMIODeviceAVCCommand) MResponseUsed() uint32
- func (s *CMIODeviceAVCCommand) SetMCommand(v *uint8)
- func (s *CMIODeviceAVCCommand) SetMCommandLength(v uint32)
- func (s *CMIODeviceAVCCommand) SetMResponse(v *uint8)
- func (s *CMIODeviceAVCCommand) SetMResponseLength(v uint32)
- func (s *CMIODeviceAVCCommand) SetMResponseUsed(v uint32)
- type CMIODeviceGetSMPTETimeProc
- type CMIODeviceID
- type CMIODevicePropertyID
- type CMIODeviceRS422Command
- func (s *CMIODeviceRS422Command) MCommand() *uint8
- func (s *CMIODeviceRS422Command) MCommandLength() uint32
- func (s *CMIODeviceRS422Command) MResponse() *uint8
- func (s *CMIODeviceRS422Command) MResponseLength() uint32
- func (s *CMIODeviceRS422Command) MResponseUsed() uint32
- func (s *CMIODeviceRS422Command) SetMCommand(v *uint8)
- func (s *CMIODeviceRS422Command) SetMCommandLength(v uint32)
- func (s *CMIODeviceRS422Command) SetMResponse(v *uint8)
- func (s *CMIODeviceRS422Command) SetMResponseLength(v uint32)
- func (s *CMIODeviceRS422Command) SetMResponseUsed(v uint32)
- type CMIODeviceSMPTETimeCallback
- type CMIODeviceStreamConfiguration
- type CMIODeviceStreamQueueAlteredProc
- type CMIOExtensionDeviceSource
- type CMIOExtensionDeviceSourceObject
- type CMIOExtensionProperty
- type CMIOExtensionProviderSource
- type CMIOExtensionProviderSourceObject
- type CMIOExtensionStreamClockType
- type CMIOExtensionStreamDirection
- type CMIOExtensionStreamDiscontinuityFlags
- type CMIOExtensionStreamSource
- type CMIOExtensionStreamSourceObject
- type CMIOHardwarePlugInInterface
- type CMIOHardwarePlugInRef
- type CMIOHardwarePropertyID
- type CMIOObjectID
- type CMIOObjectPropertyAddress
- type CMIOObjectPropertyElement
- type CMIOObjectPropertyListenerBlock
- type CMIOObjectPropertyListenerProc
- type CMIOObjectPropertyScope
- type CMIOObjectPropertySelector
- type CMIOStreamDeck
- type CMIOStreamID
- type CMIOStreamScheduledOutputNotificationProc
- type CMIOStreamScheduledOutputNotificationProcAndRefCon
- func (s *CMIOStreamScheduledOutputNotificationProcAndRefCon) ScheduledOutputNotificationProc() uintptr
- func (s *CMIOStreamScheduledOutputNotificationProcAndRefCon) ScheduledOutputNotificationRefCon() uintptr
- func (s *CMIOStreamScheduledOutputNotificationProcAndRefCon) SetScheduledOutputNotificationProc(v uintptr)
- func (s *CMIOStreamScheduledOutputNotificationProcAndRefCon) SetScheduledOutputNotificationRefCon(v uintptr)
- type KCMIOAVCDeviceType
- type KCMIOBlackLevelControlClassID
- type KCMIOBooleanControlProperty
- type KCMIOControlClassID
- type KCMIOControlProperty
- type KCMIOData
- type KCMIODeckShuttle
- type KCMIODeckState
- type KCMIODeckStatus
- type KCMIODevice
- type KCMIODeviceAVCSignal
- type KCMIODeviceProperty
- type KCMIODevicePropertyLocation
- type KCMIOExposureControlProperty
- type KCMIOFeatureControlProperty
- type KCMIOHardwareNoError
- type KCMIOHardwareProperty
- type KCMIOJackControlClassID
- type KCMIOObject
- type KCMIOObjectPropertyClass
- type KCMIOObjectPropertySelectorWildcard
- type KCMIOPlugInClassI
- type KCMIOPlugInProperty
- type KCMIOSampleBuffer
- type KCMIOSampleBufferNoDataEvent
- type KCMIOSelectorControlProperty
- type KCMIOStream
- type KCMIOStreamProperty
- type KCMIOSystemObjectClassID
Constants ¶
This section is empty.
Variables ¶
var ( // CMIOExtensionInfoDictionaryKey is a key that specifies the extension information dictionary. // // See: https://developer.apple.com/documentation/CoreMediaIO/CMIOExtensionInfoDictionaryKey CMIOExtensionInfoDictionaryKey string // CMIOExtensionMachServiceNameKey is a key that specifies the mach service name. // // See: https://developer.apple.com/documentation/CoreMediaIO/CMIOExtensionMachServiceNameKey CMIOExtensionMachServiceNameKey string )
var ( // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOBlockBufferAttachmentKey_CVPixelBufferReference KCMIOBlockBufferAttachmentKey_CVPixelBufferReference string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_CAAudioTimeStamp KCMIOSampleBufferAttachmentKey_CAAudioTimeStamp string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_ClientSequenceID KCMIOSampleBufferAttachmentKey_ClientSequenceID string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_ClosedCaptionSampleBuffer KCMIOSampleBufferAttachmentKey_ClosedCaptionSampleBuffer string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_DiscontinuityFlags KCMIOSampleBufferAttachmentKey_DiscontinuityFlags string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_HDV1_PackData KCMIOSampleBufferAttachmentKey_HDV1_PackData string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_HDV2_VAUX KCMIOSampleBufferAttachmentKey_HDV2_VAUX string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_HostTime KCMIOSampleBufferAttachmentKey_HostTime string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_MouseAndKeyboardModifiers KCMIOSampleBufferAttachmentKey_MouseAndKeyboardModifiers string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_MuxedSourcePresentationTimeStamp KCMIOSampleBufferAttachmentKey_MuxedSourcePresentationTimeStamp string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_NativeSMPTEFrameCount KCMIOSampleBufferAttachmentKey_NativeSMPTEFrameCount string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_NoDataMarker KCMIOSampleBufferAttachmentKey_NoDataMarker string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_NumberOfVideoFramesInBuffer KCMIOSampleBufferAttachmentKey_NumberOfVideoFramesInBuffer string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_NumberOfVideoFramesInGOP KCMIOSampleBufferAttachmentKey_NumberOfVideoFramesInGOP string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_PixelBufferOverlaidByStaticImage KCMIOSampleBufferAttachmentKey_PixelBufferOverlaidByStaticImage string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_PulldownCadenceInfo KCMIOSampleBufferAttachmentKey_PulldownCadenceInfo string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_RepeatedBufferContents KCMIOSampleBufferAttachmentKey_RepeatedBufferContents string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_SMPTETime KCMIOSampleBufferAttachmentKey_SMPTETime string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_SequenceNumber KCMIOSampleBufferAttachmentKey_SequenceNumber string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_SourceAudioFormatDescription KCMIOSampleBufferAttachmentKey_SourceAudioFormatDescription string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorFrameRect KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorFrameRect string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorIsDrawnInFramebuffer KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorIsDrawnInFramebuffer string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorIsVisible KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorIsVisible string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorPositionX KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorPositionX string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorPositionY KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorPositionY string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorReference KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorReference string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorScale KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorScale string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorSeed KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorSeed string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_KeyboardModifiers KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_KeyboardModifiers string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_KeyboardModifiersEvent KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_KeyboardModifiersEvent string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_MouseButtonState KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_MouseButtonState string )
var CMIOExtensionPropertys struct { // DeviceCanBeDefaultInputDevice: A property key for a Boolean value that indicates whether the device can be a default input device. DeviceCanBeDefaultInputDevice CMIOExtensionProperty // DeviceCanBeDefaultOutputDevice: A property key for a Boolean value that indicates whether the device can be a default output device. DeviceCanBeDefaultOutputDevice CMIOExtensionProperty // DeviceIsSuspended: A property key for a Boolean value that indicates whether the device is in a suspended state. DeviceIsSuspended CMIOExtensionProperty DeviceLatency CMIOExtensionProperty // DeviceLinkedCoreAudioDeviceUID: A property key for the UID of the linked Core Audio device. DeviceLinkedCoreAudioDeviceUID CMIOExtensionProperty // DeviceModel: A property key for the device model. DeviceModel CMIOExtensionProperty // DeviceTransportType: A property key for the device transport type. DeviceTransportType CMIOExtensionProperty // ProviderManufacturer: A property key for the provider manufacturer. ProviderManufacturer CMIOExtensionProperty // ProviderName: A property key for the provider name. ProviderName CMIOExtensionProperty // StreamActiveFormatIndex: A property key for the index of the active stream format. StreamActiveFormatIndex CMIOExtensionProperty // StreamFrameDuration: A property key for the frame duration. StreamFrameDuration CMIOExtensionProperty StreamLatency CMIOExtensionProperty // StreamMaxFrameDuration: A property key for the maximum frame duration. StreamMaxFrameDuration CMIOExtensionProperty // StreamSinkBufferQueueSize: A property key for the sink buffer queue size. StreamSinkBufferQueueSize CMIOExtensionProperty // StreamSinkBufferUnderrunCount: A property key for the buffer underrun count. StreamSinkBufferUnderrunCount CMIOExtensionProperty // StreamSinkBuffersRequiredForStartup: A property key for the number of buffers required for startup. StreamSinkBuffersRequiredForStartup CMIOExtensionProperty // StreamSinkEndOfData: A property key for a Boolean value that indicates whether the stream has more data. StreamSinkEndOfData CMIOExtensionProperty }
CMIOExtensionPropertys provides typed accessors for CMIOExtensionProperty constants.
Functions ¶
func CMIODeviceProcessAVCCommand ¶
func CMIODeviceProcessAVCCommand(deviceID CMIODeviceID, ioAVCCommand *CMIODeviceAVCCommand) int32
CMIODeviceProcessAVCCommand.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceProcessAVCCommand(_:_:)
func CMIODeviceProcessRS422Command ¶
func CMIODeviceProcessRS422Command(deviceID CMIODeviceID, ioRS422Command *CMIODeviceRS422Command) int32
CMIODeviceProcessRS422Command.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceProcessRS422Command(_:_:)
func CMIODeviceStartStream ¶
func CMIODeviceStartStream(deviceID CMIODeviceID, streamID CMIOStreamID) int32
CMIODeviceStartStream.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceStartStream(_:_:)
func CMIODeviceStopStream ¶
func CMIODeviceStopStream(deviceID CMIODeviceID, streamID CMIOStreamID) int32
CMIODeviceStopStream.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceStopStream(_:_:)
func CMIOObjectAddPropertyListener ¶
func CMIOObjectAddPropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, listener CMIOObjectPropertyListenerProc, clientData unsafe.Pointer) int32
CMIOObjectAddPropertyListener.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectAddPropertyListener(_:_:_:_:)
func CMIOObjectAddPropertyListenerBlock ¶
func CMIOObjectAddPropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, dispatchQueue dispatch.Queue, listener CMIOObjectPropertyListenerBlock) int32
CMIOObjectAddPropertyListenerBlock.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectAddPropertyListenerBlock(_:_:_:_:)
func CMIOObjectCreate
deprecated
func CMIOObjectCreate(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, classID CMIOClassID, objectID *CMIOObjectID) int32
CMIOObjectCreate.
Deprecated: Deprecated since macOS 12.3.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectCreate
func CMIOObjectGetPropertyData ¶
func CMIOObjectGetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, qualifierDataSize uint32, qualifierData unsafe.Pointer, dataSize uint32, dataUsed *uint32, data unsafe.Pointer) int32
CMIOObjectGetPropertyData.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectGetPropertyData(_:_:_:_:_:_:_:)
func CMIOObjectGetPropertyDataSize ¶
func CMIOObjectGetPropertyDataSize(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, qualifierDataSize uint32, qualifierData unsafe.Pointer, dataSize *uint32) int32
CMIOObjectGetPropertyDataSize.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectGetPropertyDataSize(_:_:_:_:_:)
func CMIOObjectHasProperty ¶
func CMIOObjectHasProperty(objectID CMIOObjectID, address *CMIOObjectPropertyAddress) bool
CMIOObjectHasProperty.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectHasProperty(_:_:)
func CMIOObjectIsPropertySettable ¶
func CMIOObjectIsPropertySettable(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, isSettable *bool) int32
CMIOObjectIsPropertySettable.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectIsPropertySettable(_:_:_:)
func CMIOObjectPropertiesChanged
deprecated
func CMIOObjectPropertiesChanged(owningPlugIn CMIOHardwarePlugInRef, objectID CMIOObjectID, numberAddresses uint32, addresses *CMIOObjectPropertyAddress) int32
CMIOObjectPropertiesChanged.
Deprecated: Deprecated since macOS 12.3.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectPropertiesChanged
func CMIOObjectRemovePropertyListener ¶
func CMIOObjectRemovePropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, listener CMIOObjectPropertyListenerProc, clientData unsafe.Pointer) int32
CMIOObjectRemovePropertyListener.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectRemovePropertyListener(_:_:_:_:)
func CMIOObjectRemovePropertyListenerBlock ¶
func CMIOObjectRemovePropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, dispatchQueue dispatch.Queue, listener CMIOObjectPropertyListenerBlock) int32
CMIOObjectRemovePropertyListenerBlock.
func CMIOObjectSetPropertyData ¶
func CMIOObjectSetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, qualifierDataSize uint32, qualifierData unsafe.Pointer, dataSize uint32, data unsafe.Pointer) int32
CMIOObjectSetPropertyData.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectSetPropertyData(_:_:_:_:_:_:)
func CMIOObjectShow ¶
func CMIOObjectShow(objectID CMIOObjectID)
CMIOObjectShow.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectShow(_:)
func CMIOObjectsPublishedAndDied
deprecated
func CMIOObjectsPublishedAndDied(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, numberPublishedCMIOObjects uint32, publishedCMIOObjects *CMIOObjectID, numberDeadCMIOObjects uint32, deadCMIOObjects *CMIOObjectID) int32
CMIOObjectsPublishedAndDied.
Deprecated: Deprecated since macOS 12.3.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectsPublishedAndDied
func CMIOSampleBufferCopyNonRequiredAttachments ¶
func CMIOSampleBufferCopyNonRequiredAttachments(sourceSBuf uintptr, destSBuf uintptr, attachmentMode uint32) int32
CMIOSampleBufferCopyNonRequiredAttachments.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferCopyNonRequiredAttachments
func CMIOSampleBufferCopySampleAttachments ¶
CMIOSampleBufferCopySampleAttachments.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferCopySampleAttachments
func CMIOSampleBufferCreate ¶
func CMIOSampleBufferCreate(allocator corefoundation.CFAllocatorRef, dataBuffer coremedia.CMBlockBufferRef, formatDescription uintptr, numSamples uint32, numSampleTimingEntries uint32, sampleTimingArray *coremedia.CMSampleTimingInfo, numSampleSizeEntries uint32, sampleSizeArray *uintptr, sequenceNumber uint64, discontinuityFlags uint32, sBufOut *coremedia.CMSampleBufferRef) int32
CMIOSampleBufferCreate.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferCreate
func CMIOSampleBufferCreateForImageBuffer ¶
func CMIOSampleBufferCreateForImageBuffer(allocator corefoundation.CFAllocatorRef, imageBuffer corevideo.CVImageBufferRef, formatDescription uintptr, sampleTiming *coremedia.CMSampleTimingInfo, sequenceNumber uint64, discontinuityFlags uint32, sBufOut *coremedia.CMSampleBufferRef) int32
CMIOSampleBufferCreateForImageBuffer.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferCreateForImageBuffer
func CMIOSampleBufferCreateNoDataMarker ¶
func CMIOSampleBufferCreateNoDataMarker(allocator corefoundation.CFAllocatorRef, noDataEvent uint32, formatDescription uintptr, sequenceNumber uint64, discontinuityFlags uint32, sBufOut *coremedia.CMSampleBufferRef) int32
CMIOSampleBufferCreateNoDataMarker.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferCreateNoDataMarker
func CMIOSampleBufferGetDiscontinuityFlags ¶
CMIOSampleBufferGetDiscontinuityFlags.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferGetDiscontinuityFlags
func CMIOSampleBufferGetSequenceNumber ¶
CMIOSampleBufferGetSequenceNumber.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferGetSequenceNumber
func CMIOSampleBufferSetDiscontinuityFlags ¶
func CMIOSampleBufferSetDiscontinuityFlags(allocator corefoundation.CFAllocatorRef, sbuf uintptr, discontinuityFlags uint32)
CMIOSampleBufferSetDiscontinuityFlags.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferSetDiscontinuityFlags
func CMIOSampleBufferSetSequenceNumber ¶
func CMIOSampleBufferSetSequenceNumber(allocator corefoundation.CFAllocatorRef, sbuf uintptr, sequenceNumber uint64)
CMIOSampleBufferSetSequenceNumber.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferSetSequenceNumber
func CMIOStreamClockConvertHostTimeToDeviceTime ¶
func CMIOStreamClockConvertHostTimeToDeviceTime(hostTime uint64, clock corefoundation.CFTypeRef) coremedia.CMTime
CMIOStreamClockConvertHostTimeToDeviceTime.
func CMIOStreamClockCreate ¶
func CMIOStreamClockCreate(allocator corefoundation.CFAllocatorRef, clockName corefoundation.CFStringRef, sourceIdentifier unsafe.Pointer, getTimeCallMinimumInterval coremedia.CMTime, numberOfEventsForRateSmoothing uint32, numberOfAveragesForRateSmoothing uint32, clock *corefoundation.CFTypeRef) int32
CMIOStreamClockCreate.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamClockCreate(_:_:_:_:_:_:_:)
func CMIOStreamClockInvalidate ¶
func CMIOStreamClockInvalidate(clock corefoundation.CFTypeRef) int32
CMIOStreamClockInvalidate.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamClockInvalidate(_:)
func CMIOStreamClockPostTimingEvent ¶
func CMIOStreamClockPostTimingEvent(eventTime coremedia.CMTime, hostTime uint64, resynchronize bool, clock corefoundation.CFTypeRef) int32
CMIOStreamClockPostTimingEvent.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamClockPostTimingEvent(_:_:_:_:)
func CMIOStreamCopyBufferQueue ¶
func CMIOStreamCopyBufferQueue(streamID CMIOStreamID, queueAlteredProc CMIODeviceStreamQueueAlteredProc, queueAlteredRefCon unsafe.Pointer, queue *coremedia.CMSimpleQueueRef) int32
CMIOStreamCopyBufferQueue.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamCopyBufferQueue(_:_:_:_:)
func CMIOStreamDeckCueTo ¶
func CMIOStreamDeckCueTo(streamID CMIOStreamID, frameNumber uint64, playOnCue bool) int32
CMIOStreamDeckCueTo.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamDeckCueTo(_:_:_:)
func CMIOStreamDeckJog ¶
func CMIOStreamDeckJog(streamID CMIOStreamID, speed int32) int32
CMIOStreamDeckJog.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamDeckJog(_:_:)
func CMIOStreamDeckPlay ¶
func CMIOStreamDeckPlay(streamID CMIOStreamID) int32
CMIOStreamDeckPlay.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamDeckPlay(_:)
func CMIOStreamDeckStop ¶
func CMIOStreamDeckStop(streamID CMIOStreamID) int32
CMIOStreamDeckStop.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamDeckStop(_:)
func NewCMIOObjectPropertyListenerBlock ¶ added in v0.6.16
func NewCMIOObjectPropertyListenerBlock(handler CMIOObjectPropertyListenerBlock) (objc.ID, func())
NewCMIOObjectPropertyListenerBlock wraps a Go CMIOObjectPropertyListenerBlock as an Objective-C block. The caller must defer the returned cleanup function.
Types ¶
type CMIOClassID ¶
type CMIOClassID = uint32
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOClassID
type CMIOControlID ¶
type CMIOControlID = uint32
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOControlID
type CMIODeviceAVCCommand ¶
type CMIODeviceAVCCommand struct {
// contains filtered or unexported fields
}
CMIODeviceAVCCommand
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceAVCCommand
func (*CMIODeviceAVCCommand) MCommand ¶
func (s *CMIODeviceAVCCommand) MCommand() *uint8
MCommand returns the MCommand field from the record's packed storage.
func (*CMIODeviceAVCCommand) MCommandLength ¶
func (s *CMIODeviceAVCCommand) MCommandLength() uint32
MCommandLength returns the MCommandLength field from the record's packed storage.
func (*CMIODeviceAVCCommand) MResponse ¶
func (s *CMIODeviceAVCCommand) MResponse() *uint8
MResponse returns the MResponse field from the record's packed storage.
func (*CMIODeviceAVCCommand) MResponseLength ¶
func (s *CMIODeviceAVCCommand) MResponseLength() uint32
MResponseLength returns the MResponseLength field from the record's packed storage.
func (*CMIODeviceAVCCommand) MResponseUsed ¶
func (s *CMIODeviceAVCCommand) MResponseUsed() uint32
MResponseUsed returns the MResponseUsed field from the record's packed storage.
func (*CMIODeviceAVCCommand) SetMCommand ¶ added in v0.6.17
func (s *CMIODeviceAVCCommand) SetMCommand(v *uint8)
SetMCommand updates the MCommand field in the record's packed storage.
v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.
func (*CMIODeviceAVCCommand) SetMCommandLength ¶ added in v0.6.17
func (s *CMIODeviceAVCCommand) SetMCommandLength(v uint32)
SetMCommandLength updates the MCommandLength field in the record's packed storage.
func (*CMIODeviceAVCCommand) SetMResponse ¶ added in v0.6.17
func (s *CMIODeviceAVCCommand) SetMResponse(v *uint8)
SetMResponse updates the MResponse field in the record's packed storage.
v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.
func (*CMIODeviceAVCCommand) SetMResponseLength ¶ added in v0.6.17
func (s *CMIODeviceAVCCommand) SetMResponseLength(v uint32)
SetMResponseLength updates the MResponseLength field in the record's packed storage.
func (*CMIODeviceAVCCommand) SetMResponseUsed ¶ added in v0.6.17
func (s *CMIODeviceAVCCommand) SetMResponseUsed(v uint32)
SetMResponseUsed updates the MResponseUsed field in the record's packed storage.
type CMIODeviceGetSMPTETimeProc ¶
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceGetSMPTETimeProc
type CMIODeviceID ¶
type CMIODeviceID = uint32
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceID
type CMIODevicePropertyID ¶
type CMIODevicePropertyID = uint32
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODevicePropertyID
type CMIODeviceRS422Command ¶
type CMIODeviceRS422Command struct {
// contains filtered or unexported fields
}
CMIODeviceRS422Command
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceRS422Command
func (*CMIODeviceRS422Command) MCommand ¶
func (s *CMIODeviceRS422Command) MCommand() *uint8
MCommand returns the MCommand field from the record's packed storage.
func (*CMIODeviceRS422Command) MCommandLength ¶
func (s *CMIODeviceRS422Command) MCommandLength() uint32
MCommandLength returns the MCommandLength field from the record's packed storage.
func (*CMIODeviceRS422Command) MResponse ¶
func (s *CMIODeviceRS422Command) MResponse() *uint8
MResponse returns the MResponse field from the record's packed storage.
func (*CMIODeviceRS422Command) MResponseLength ¶
func (s *CMIODeviceRS422Command) MResponseLength() uint32
MResponseLength returns the MResponseLength field from the record's packed storage.
func (*CMIODeviceRS422Command) MResponseUsed ¶
func (s *CMIODeviceRS422Command) MResponseUsed() uint32
MResponseUsed returns the MResponseUsed field from the record's packed storage.
func (*CMIODeviceRS422Command) SetMCommand ¶ added in v0.6.17
func (s *CMIODeviceRS422Command) SetMCommand(v *uint8)
SetMCommand updates the MCommand field in the record's packed storage.
v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.
func (*CMIODeviceRS422Command) SetMCommandLength ¶ added in v0.6.17
func (s *CMIODeviceRS422Command) SetMCommandLength(v uint32)
SetMCommandLength updates the MCommandLength field in the record's packed storage.
func (*CMIODeviceRS422Command) SetMResponse ¶ added in v0.6.17
func (s *CMIODeviceRS422Command) SetMResponse(v *uint8)
SetMResponse updates the MResponse field in the record's packed storage.
v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.
func (*CMIODeviceRS422Command) SetMResponseLength ¶ added in v0.6.17
func (s *CMIODeviceRS422Command) SetMResponseLength(v uint32)
SetMResponseLength updates the MResponseLength field in the record's packed storage.
func (*CMIODeviceRS422Command) SetMResponseUsed ¶ added in v0.6.17
func (s *CMIODeviceRS422Command) SetMResponseUsed(v uint32)
SetMResponseUsed updates the MResponseUsed field in the record's packed storage.
type CMIODeviceSMPTETimeCallback ¶
type CMIODeviceSMPTETimeCallback struct {
// contains filtered or unexported fields
}
CMIODeviceSMPTETimeCallback
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceSMPTETimeCallback
func (*CMIODeviceSMPTETimeCallback) MGetSMPTETimeProc ¶
func (s *CMIODeviceSMPTETimeCallback) MGetSMPTETimeProc() uintptr
MGetSMPTETimeProc returns a raw C code address from the record's packed storage. The address is not callable from Go. To call C through it, use purego to bind a Go function value to the address.
func (*CMIODeviceSMPTETimeCallback) MRefCon ¶
func (s *CMIODeviceSMPTETimeCallback) MRefCon() uintptr
MRefCon returns the MRefCon field from the record's packed storage.
func (*CMIODeviceSMPTETimeCallback) SetMGetSMPTETimeProc ¶ added in v0.6.17
func (s *CMIODeviceSMPTETimeCallback) SetMGetSMPTETimeProc(v uintptr)
SetMGetSMPTETimeProc stores a raw C code address in the record's packed storage. Use purego.NewCallback to obtain the address for a Go callback. The callback and its address must outlive every use C can make through this record.
v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.
func (*CMIODeviceSMPTETimeCallback) SetMRefCon ¶ added in v0.6.17
func (s *CMIODeviceSMPTETimeCallback) SetMRefCon(v uintptr)
SetMRefCon updates the MRefCon field in the record's packed storage.
v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.
type CMIODeviceStreamConfiguration ¶
type CMIODeviceStreamConfiguration struct {
MNumberStreams uint32
}
CMIODeviceStreamConfiguration
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceStreamConfiguration
type CMIODeviceStreamQueueAlteredProc ¶
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceStreamQueueAlteredProc
type CMIOExtensionDeviceSource ¶
type CMIOExtensionDeviceSource interface {
objectivec.IObject
}
A protocol for objects that act as device sources.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOExtensionDeviceSource
type CMIOExtensionDeviceSourceObject ¶
type CMIOExtensionDeviceSourceObject struct {
objectivec.Object
}
CMIOExtensionDeviceSourceObject wraps an existing Objective-C object that conforms to the CMIOExtensionDeviceSource protocol.
func CMIOExtensionDeviceSourceObjectFromID ¶
func CMIOExtensionDeviceSourceObjectFromID(id objc.ID) CMIOExtensionDeviceSourceObject
CMIOExtensionDeviceSourceObjectFromID constructs a CMIOExtensionDeviceSourceObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CMIOExtensionDeviceSourceObject) BaseObject ¶
func (o CMIOExtensionDeviceSourceObject) BaseObject() objectivec.Object
type CMIOExtensionProperty ¶
type CMIOExtensionProperty = string
CMIOExtensionProperty is a structure that defines the properties that providers, devices, and streams support.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOExtensionProperty
type CMIOExtensionProviderSource ¶
type CMIOExtensionProviderSource interface {
objectivec.IObject
}
A protocol for objects that act as provider sources.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOExtensionProviderSource
type CMIOExtensionProviderSourceObject ¶
type CMIOExtensionProviderSourceObject struct {
objectivec.Object
}
CMIOExtensionProviderSourceObject wraps an existing Objective-C object that conforms to the CMIOExtensionProviderSource protocol.
func CMIOExtensionProviderSourceObjectFromID ¶
func CMIOExtensionProviderSourceObjectFromID(id objc.ID) CMIOExtensionProviderSourceObject
CMIOExtensionProviderSourceObjectFromID constructs a CMIOExtensionProviderSourceObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CMIOExtensionProviderSourceObject) BaseObject ¶
func (o CMIOExtensionProviderSourceObject) BaseObject() objectivec.Object
type CMIOExtensionStreamClockType ¶
type CMIOExtensionStreamClockType int
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOExtensionStream/ClockType-swift.enum
const ( // CMIOExtensionStreamClockTypeCustom: Indicates that the stream’s clock is specific to the device hosting the stream. CMIOExtensionStreamClockTypeCustom CMIOExtensionStreamClockType = 2 // CMIOExtensionStreamClockTypeHostTime: Indicates that the stream uses the host time clock. CMIOExtensionStreamClockTypeHostTime CMIOExtensionStreamClockType = 0 // CMIOExtensionStreamClockTypeLinkedCoreAudioDeviceUID: Indicates that the stream uses the clock of the linked Core Audio device. CMIOExtensionStreamClockTypeLinkedCoreAudioDeviceUID CMIOExtensionStreamClockType = 1 )
func (CMIOExtensionStreamClockType) String ¶
func (e CMIOExtensionStreamClockType) String() string
type CMIOExtensionStreamDirection ¶
type CMIOExtensionStreamDirection int
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOExtensionStream/Direction-swift.enum
const ( // CMIOExtensionStreamDirectionSink: A stream that consumes sample buffers for playback. CMIOExtensionStreamDirectionSink CMIOExtensionStreamDirection = 1 // CMIOExtensionStreamDirectionSource: A stream that provides sample buffers for capture. CMIOExtensionStreamDirectionSource CMIOExtensionStreamDirection = 0 )
func (CMIOExtensionStreamDirection) String ¶
func (e CMIOExtensionStreamDirection) String() string
type CMIOExtensionStreamDiscontinuityFlags ¶
type CMIOExtensionStreamDiscontinuityFlags uint32
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOExtensionStream/DiscontinuityFlags
const ( // CMIOExtensionStreamDiscontinuityFlagNone: A flag that indicates there’s no discontinuity in the stream. CMIOExtensionStreamDiscontinuityFlagNone CMIOExtensionStreamDiscontinuityFlags = 0 // CMIOExtensionStreamDiscontinuityFlagSampleDropped: A flag that indicates a discontinuity in the stream due to a dropped frame. CMIOExtensionStreamDiscontinuityFlagSampleDropped CMIOExtensionStreamDiscontinuityFlags = 64 // CMIOExtensionStreamDiscontinuityFlagTime: A flag that indicates a time discontinuity in the stream. CMIOExtensionStreamDiscontinuityFlagTime CMIOExtensionStreamDiscontinuityFlags = 2 // CMIOExtensionStreamDiscontinuityFlagUnknown: A flag that indicates a stream discontinuity due to an unknown reason. CMIOExtensionStreamDiscontinuityFlagUnknown CMIOExtensionStreamDiscontinuityFlags = 1 )
func (CMIOExtensionStreamDiscontinuityFlags) String ¶
func (e CMIOExtensionStreamDiscontinuityFlags) String() string
type CMIOExtensionStreamSource ¶
type CMIOExtensionStreamSource interface {
objectivec.IObject
}
A protocol for objects that act as stream sources.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOExtensionStreamSource
type CMIOExtensionStreamSourceObject ¶
type CMIOExtensionStreamSourceObject struct {
objectivec.Object
}
CMIOExtensionStreamSourceObject wraps an existing Objective-C object that conforms to the CMIOExtensionStreamSource protocol.
func CMIOExtensionStreamSourceObjectFromID ¶
func CMIOExtensionStreamSourceObjectFromID(id objc.ID) CMIOExtensionStreamSourceObject
CMIOExtensionStreamSourceObjectFromID constructs a CMIOExtensionStreamSourceObject from an objc.ID. The object is determined to conform to the protocol at runtime.
func (CMIOExtensionStreamSourceObject) BaseObject ¶
func (o CMIOExtensionStreamSourceObject) BaseObject() objectivec.Object
type CMIOHardwarePlugInInterface ¶
type CMIOHardwarePlugInInterface struct {
QueryInterface func(unsafe.Pointer, corefoundation.CFUUIDBytes, unsafe.Pointer) int32
AddRef func(unsafe.Pointer) uint32
Release func(unsafe.Pointer) uint32
Initialize func(uintptr) int32
InitializeWithObjectID func(uintptr, uint32) int32
Teardown func(uintptr) int32
ObjectShow func(uintptr, uint32)
ObjectHasProperty func(uintptr, uint32, uintptr) uint8
ObjectIsPropertySettable func(uintptr, uint32, uintptr, *byte) int32
ObjectGetPropertyDataSize func(uintptr, uint32, uintptr, uint32, unsafe.Pointer, *uint32) int32
ObjectGetPropertyData func(uintptr, uint32, uintptr, uint32, unsafe.Pointer, uint32, *uint32, unsafe.Pointer) int32
ObjectSetPropertyData func(uintptr, uint32, uintptr, uint32, unsafe.Pointer, uint32, unsafe.Pointer) int32
DeviceSuspend func(uintptr, uint32) int32
DeviceResume func(uintptr, uint32) int32
DeviceStartStream func(uintptr, uint32, uint32) int32
DeviceStopStream func(uintptr, uint32, uint32) int32
DeviceProcessAVCCommand func(uintptr, uint32, uintptr) int32
DeviceProcessRS422Command func(uintptr, uint32, uintptr) int32
StreamCopyBufferQueue func(uintptr, uint32, CMIODeviceStreamQueueAlteredProc, unsafe.Pointer, uintptr) int32
StreamDeckPlay func(uintptr, uint32) int32
StreamDeckStop func(uintptr, uint32) int32
StreamDeckJog func(uintptr, uint32, int32) int32
StreamDeckCueTo func(uintptr, uint32, float64, uint8) int32
// contains filtered or unexported fields
}
CMIOHardwarePlugInInterface
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMediaIO/CMIOHardwarePlugInInterface
type CMIOHardwarePlugInRef ¶
type CMIOHardwarePlugInRef = **CMIOHardwarePlugInInterface
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOHardwarePlugInRef
type CMIOHardwarePropertyID ¶
type CMIOHardwarePropertyID = uint32
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOHardwarePropertyID
type CMIOObjectID ¶
type CMIOObjectID = uint32
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectID
type CMIOObjectPropertyAddress ¶
type CMIOObjectPropertyAddress struct {
MSelector CMIOObjectPropertySelector
MScope CMIOObjectPropertyScope
MElement CMIOObjectPropertyElement
}
CMIOObjectPropertyAddress
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectPropertyAddress
type CMIOObjectPropertyElement ¶
type CMIOObjectPropertyElement = uint32
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectPropertyElement
type CMIOObjectPropertyListenerBlock ¶
type CMIOObjectPropertyListenerBlock = func(uint32, *CMIOObjectPropertyAddress)
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectPropertyListenerBlock
type CMIOObjectPropertyListenerProc ¶
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectPropertyListenerProc
type CMIOObjectPropertyScope ¶
type CMIOObjectPropertyScope = uint32
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectPropertyScope
type CMIOObjectPropertySelector ¶
type CMIOObjectPropertySelector = uint32
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectPropertySelector
type CMIOStreamDeck ¶
CMIOStreamDeck
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamDeck
type CMIOStreamID ¶
type CMIOStreamID = uint32
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamID
type CMIOStreamScheduledOutputNotificationProc ¶
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamScheduledOutputNotificationProc
type CMIOStreamScheduledOutputNotificationProcAndRefCon ¶
type CMIOStreamScheduledOutputNotificationProcAndRefCon struct {
// contains filtered or unexported fields
}
CMIOStreamScheduledOutputNotificationProcAndRefCon
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamScheduledOutputNotificationProcAndRefCon
func (*CMIOStreamScheduledOutputNotificationProcAndRefCon) ScheduledOutputNotificationProc ¶
func (s *CMIOStreamScheduledOutputNotificationProcAndRefCon) ScheduledOutputNotificationProc() uintptr
ScheduledOutputNotificationProc returns a raw C code address from the record's packed storage. The address is not callable from Go. To call C through it, use purego to bind a Go function value to the address.
func (*CMIOStreamScheduledOutputNotificationProcAndRefCon) ScheduledOutputNotificationRefCon ¶
func (s *CMIOStreamScheduledOutputNotificationProcAndRefCon) ScheduledOutputNotificationRefCon() uintptr
ScheduledOutputNotificationRefCon returns the ScheduledOutputNotificationRefCon field from the record's packed storage.
func (*CMIOStreamScheduledOutputNotificationProcAndRefCon) SetScheduledOutputNotificationProc ¶ added in v0.6.17
func (s *CMIOStreamScheduledOutputNotificationProcAndRefCon) SetScheduledOutputNotificationProc(v uintptr)
SetScheduledOutputNotificationProc stores a raw C code address in the record's packed storage. Use purego.NewCallback to obtain the address for a Go callback. The callback and its address must outlive every use C can make through this record.
v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.
func (*CMIOStreamScheduledOutputNotificationProcAndRefCon) SetScheduledOutputNotificationRefCon ¶ added in v0.6.17
func (s *CMIOStreamScheduledOutputNotificationProcAndRefCon) SetScheduledOutputNotificationRefCon(v uintptr)
SetScheduledOutputNotificationRefCon updates the ScheduledOutputNotificationRefCon field in the record's packed storage.
v is stored as a raw address. The storage is a byte array, so the garbage collector scans it as integers and an address written here keeps nothing alive. v must name C-owned memory, or Go memory the caller pins with runtime.Pinner for as long as C reads the record.
type KCMIOAVCDeviceType ¶
type KCMIOAVCDeviceType uint32
const ( KCMIOAVCDeviceType_DVCPro100_720p KCMIOAVCDeviceType = 'd'<<24 | 'v'<<16 | 'h'<<8 | 'p' // 'dvhp' KCMIOAVCDeviceType_DVCPro100_NTSC KCMIOAVCDeviceType = 'd'<<24 | 'v'<<16 | '1'<<8 | 'n' // 'dv1n' KCMIOAVCDeviceType_DVCPro100_PAL KCMIOAVCDeviceType = 'd'<<24 | 'v'<<16 | '1'<<8 | 'p' // 'dv1p' KCMIOAVCDeviceType_DVCPro50_NTSC KCMIOAVCDeviceType = 'd'<<24 | 'v'<<16 | '5'<<8 | 'n' // 'dv5n' KCMIOAVCDeviceType_DVCPro50_PAL KCMIOAVCDeviceType = 'd'<<24 | 'v'<<16 | '5'<<8 | 'p' // 'dv5p' KCMIOAVCDeviceType_DVCProHD_1080i50 KCMIOAVCDeviceType = 'd'<<24 | 'v'<<16 | 'h'<<8 | '5' // 'dvh5' KCMIOAVCDeviceType_DVCProHD_1080i60 KCMIOAVCDeviceType = 'd'<<24 | 'v'<<16 | 'h'<<8 | '6' // 'dvh6' KCMIOAVCDeviceType_DVCPro_NTSC KCMIOAVCDeviceType = 'd'<<24 | 'v'<<16 | 'p'<<8 | 'n' // 'dvpn' KCMIOAVCDeviceType_DVCPro_PAL KCMIOAVCDeviceType = 'd'<<24 | 'v'<<16 | 'p'<<8 | 'p' // 'dvpp' KCMIOAVCDeviceType_DV_NTSC KCMIOAVCDeviceType = 'd'<<24 | 'v'<<16 | 'c'<<8 | ' ' // 'dvc ' KCMIOAVCDeviceType_DV_PAL KCMIOAVCDeviceType = 'd'<<24 | 'v'<<16 | 'c'<<8 | 'p' // 'dvcp' KCMIOAVCDeviceType_MPEG2 KCMIOAVCDeviceType = 'm'<<24 | 'p'<<16 | 'g'<<8 | '2' // 'mpg2' KCMIOAVCDeviceType_Unknown KCMIOAVCDeviceType = 'u'<<24 | 'n'<<16 | 'k'<<8 | 'n' // 'unkn' )
func (KCMIOAVCDeviceType) String ¶
func (e KCMIOAVCDeviceType) String() string
type KCMIOBlackLevelControlClassID ¶
type KCMIOBlackLevelControlClassID uint32
const ( KCMIOBacklightCompensationControlClassID KCMIOBlackLevelControlClassID = 'b'<<24 | 'k'<<16 | 'l'<<8 | 't' // 'bklt' KCMIOBlackLevelControlClassIDValue KCMIOBlackLevelControlClassID = 'b'<<24 | 'k'<<16 | 'l'<<8 | 'v' // 'bklv' KCMIOBrightnessControlClassID KCMIOBlackLevelControlClassID = 'b'<<24 | 'r'<<16 | 'i'<<8 | 't' // 'brit' KCMIOContrastControlClassID KCMIOBlackLevelControlClassID = 'c'<<24 | 't'<<16 | 's'<<8 | 't' // 'ctst' KCMIOExposureControlClassID KCMIOBlackLevelControlClassID = 'x'<<24 | 'p'<<16 | 's'<<8 | 'r' // 'xpsr' KCMIOFocusControlClassID KCMIOBlackLevelControlClassID = 'f'<<24 | 'c'<<16 | 'u'<<8 | 's' // 'fcus' KCMIOGainControlClassID KCMIOBlackLevelControlClassID = 'g'<<24 | 'a'<<16 | 'i'<<8 | 'n' // 'gain' KCMIOGammaControlClassID KCMIOBlackLevelControlClassID = 'g'<<24 | 'm'<<16 | 'm'<<8 | 'a' // 'gmma' KCMIOHueControlClassID KCMIOBlackLevelControlClassID = 'h'<<24 | 'u'<<16 | 'e'<<8 | ' ' // 'hue ' KCMIOIrisControlClassID KCMIOBlackLevelControlClassID = 'i'<<24 | 'r'<<16 | 'i'<<8 | 's' // 'iris' KCMIONoiseReductionControlClassID KCMIOBlackLevelControlClassID = 's'<<24 | '2'<<16 | 'n'<<8 | 'r' // 's2nr' KCMIOOpticalFilterClassID KCMIOBlackLevelControlClassID = 'o'<<24 | 'p'<<16 | 'f'<<8 | 't' // 'opft' KCMIOPanControlClassID KCMIOBlackLevelControlClassID = 'p'<<24 | 'a'<<16 | 'n'<<8 | ' ' // 'pan ' KCMIOPanTiltAbsoluteControlClassID KCMIOBlackLevelControlClassID = 'p'<<24 | 't'<<16 | 'a'<<8 | 'b' // 'ptab' KCMIOPanTiltRelativeControlClassID KCMIOBlackLevelControlClassID = 'p'<<24 | 't'<<16 | 'r'<<8 | 'l' // 'ptrl' KCMIOPowerLineFrequencyControlClassID KCMIOBlackLevelControlClassID = 'p'<<24 | 'w'<<16 | 'f'<<8 | 'q' // 'pwfq' KCMIORollAbsoluteControlClassID KCMIOBlackLevelControlClassID = 'r'<<24 | 'o'<<16 | 'l'<<8 | 'a' // 'rola' KCMIOSaturationControlClassID KCMIOBlackLevelControlClassID = 's'<<24 | 'a'<<16 | 't'<<8 | 'u' // 'satu' KCMIOSharpnessControlClassID KCMIOBlackLevelControlClassID = 's'<<24 | 'h'<<16 | 'r'<<8 | 'p' // 'shrp' KCMIOShutterControlClassID KCMIOBlackLevelControlClassID = 's'<<24 | 'h'<<16 | 't'<<8 | 'r' // 'shtr' KCMIOTemperatureControlClassID KCMIOBlackLevelControlClassID = 't'<<24 | 'e'<<16 | 'm'<<8 | 'p' // 'temp' KCMIOTiltControlClassID KCMIOBlackLevelControlClassID = 't'<<24 | 'i'<<16 | 'l'<<8 | 't' // 'tilt' KCMIOWhiteBalanceControlClassID KCMIOBlackLevelControlClassID = 'w'<<24 | 'h'<<16 | 'b'<<8 | 'l' // 'whbl' KCMIOWhiteBalanceUControlClassID KCMIOBlackLevelControlClassID = 'w'<<24 | 'h'<<16 | 'b'<<8 | 'u' // 'whbu' KCMIOWhiteBalanceVControlClassID KCMIOBlackLevelControlClassID = 'w'<<24 | 'h'<<16 | 'b'<<8 | 'v' // 'whbv' KCMIOWhiteLevelControlClassID KCMIOBlackLevelControlClassID = 'w'<<24 | 'h'<<16 | 'l'<<8 | 'v' // 'whlv' KCMIOZoomControlClassID KCMIOBlackLevelControlClassID = 'z'<<24 | 'o'<<16 | 'o'<<8 | 'm' // 'zoom' KCMIOZoomRelativeControlClassID KCMIOBlackLevelControlClassID = 'z'<<24 | 'o'<<16 | 'm'<<8 | 'r' // 'zomr' )
func (KCMIOBlackLevelControlClassID) String ¶ added in v0.6.17
func (e KCMIOBlackLevelControlClassID) String() string
type KCMIOBooleanControlProperty ¶ added in v0.5.1
type KCMIOBooleanControlProperty uint32
const (
KCMIOBooleanControlPropertyValue KCMIOBooleanControlProperty = 'b'<<24 | 'c'<<16 | 'v'<<8 | 'l' // 'bcvl'
)
func (KCMIOBooleanControlProperty) String ¶ added in v0.5.1
func (e KCMIOBooleanControlProperty) String() string
type KCMIOControlClassID ¶
type KCMIOControlClassID uint32
const ( KCMIOBooleanControlClassID KCMIOControlClassID = 't'<<24 | 'o'<<16 | 'g'<<8 | 'l' // 'togl' KCMIOControlClassIDValue KCMIOControlClassID = 'a'<<24 | 'c'<<16 | 't'<<8 | 'l' // 'actl' KCMIOFeatureControlClassID KCMIOControlClassID = 'f'<<24 | 't'<<16 | 'c'<<8 | 't' // 'ftct' KCMIOSelectorControlClassID KCMIOControlClassID = 's'<<24 | 'l'<<16 | 'c'<<8 | 't' // 'slct' )
func (KCMIOControlClassID) String ¶ added in v0.6.17
func (e KCMIOControlClassID) String() string
type KCMIOControlProperty ¶
type KCMIOControlProperty uint32
const ( KCMIOControlPropertyElement KCMIOControlProperty = 'c'<<24 | 'e'<<16 | 'l'<<8 | 'm' // 'celm' KCMIOControlPropertyScope KCMIOControlProperty = 'c'<<24 | 's'<<16 | 'c'<<8 | 'p' // 'cscp' KCMIOControlPropertyVariant KCMIOControlProperty = 'c'<<24 | 'v'<<16 | 'a'<<8 | 'r' // 'cvar' )
func (KCMIOControlProperty) String ¶
func (e KCMIOControlProperty) String() string
type KCMIODeckShuttle ¶
type KCMIODeckShuttle int32
const ( KCMIODeckShuttlePause KCMIODeckShuttle = 0 KCMIODeckShuttlePlay1x KCMIODeckShuttle = 6 KCMIODeckShuttlePlayFast KCMIODeckShuttle = 7 KCMIODeckShuttlePlayFaster KCMIODeckShuttle = 8 KCMIODeckShuttlePlayFastest KCMIODeckShuttle = 9 KCMIODeckShuttlePlayHighSpeed KCMIODeckShuttle = 10 KCMIODeckShuttlePlayNextFrame KCMIODeckShuttle = 1 KCMIODeckShuttlePlayPreviousFrame KCMIODeckShuttle = -1 KCMIODeckShuttlePlaySlow1 KCMIODeckShuttle = 3 KCMIODeckShuttlePlaySlow2 KCMIODeckShuttle = 4 KCMIODeckShuttlePlaySlow3 KCMIODeckShuttle = 5 KCMIODeckShuttlePlaySlowest KCMIODeckShuttle = 2 KCMIODeckShuttleReverse1x KCMIODeckShuttle = -6 KCMIODeckShuttleReverseFast KCMIODeckShuttle = -7 KCMIODeckShuttleReverseFaster KCMIODeckShuttle = -8 KCMIODeckShuttleReverseFastest KCMIODeckShuttle = -9 KCMIODeckShuttleReverseHighSpeed KCMIODeckShuttle = -10 KCMIODeckShuttleReverseSlow1 KCMIODeckShuttle = -3 KCMIODeckShuttleReverseSlow2 KCMIODeckShuttle = -4 KCMIODeckShuttleReverseSlow3 KCMIODeckShuttle = -5 KCMIODeckShuttleReverseSlowest KCMIODeckShuttle = -2 )
func (KCMIODeckShuttle) String ¶
func (e KCMIODeckShuttle) String() string
type KCMIODeckState ¶
type KCMIODeckState uint32
const ( KCMIODeckStateFastForward KCMIODeckState = 6 KCMIODeckStateFastRewind KCMIODeckState = 7 KCMIODeckStatePause KCMIODeckState = 2 KCMIODeckStatePlay KCMIODeckState = 1 KCMIODeckStatePlayReverse KCMIODeckState = 5 KCMIODeckStatePlaySlow KCMIODeckState = 3 KCMIODeckStateReverseSlow KCMIODeckState = 4 KCMIODeckStateStop KCMIODeckState = 0 )
func (KCMIODeckState) String ¶
func (e KCMIODeckState) String() string
type KCMIODeckStatus ¶
type KCMIODeckStatus uint32
const ( KCMIODeckStatusBusy KCMIODeckStatus = 1 KCMIODeckStatusLocal KCMIODeckStatus = 2 KCMIODeckStatusNoDevice KCMIODeckStatus = 7 KCMIODeckStatusNotThreaded KCMIODeckStatus = 3 KCMIODeckStatusOpcode KCMIODeckStatus = 5 KCMIODeckStatusSearchingForDevice KCMIODeckStatus = 6 KCMIODeckStatusTapeInserted KCMIODeckStatus = 4 )
func (KCMIODeckStatus) String ¶
func (e KCMIODeckStatus) String() string
type KCMIODevice ¶
type KCMIODevice uint32
const ( KCMIODeviceClassID KCMIODevice = 'a'<<24 | 'd'<<16 | 'e'<<8 | 'v' // 'adev' KCMIODevicePropertyScopeInput KCMIODevice = 'i'<<24 | 'n'<<16 | 'p'<<8 | 't' // 'inpt' KCMIODevicePropertyScopeOutput KCMIODevice = 'o'<<24 | 'u'<<16 | 't'<<8 | 'p' // 'outp' KCMIODevicePropertyScopePlayThrough KCMIODevice = 'p'<<24 | 't'<<16 | 'r'<<8 | 'u' // 'ptru' KCMIODeviceUnknown KCMIODevice = 0 )
func (KCMIODevice) String ¶
func (e KCMIODevice) String() string
type KCMIODeviceAVCSignal ¶
type KCMIODeviceAVCSignal uint32
const ( KCMIODeviceAVCSignalMode8mmNTSC KCMIODeviceAVCSignal = 0x6 KCMIODeviceAVCSignalMode8mmPAL KCMIODeviceAVCSignal = 0x86 KCMIODeviceAVCSignalModeAudio KCMIODeviceAVCSignal = 0x20 KCMIODeviceAVCSignalModeDVCPro100_50 KCMIODeviceAVCSignal = 0xf0 KCMIODeviceAVCSignalModeDVCPro100_60 KCMIODeviceAVCSignal = 0x70 KCMIODeviceAVCSignalModeDVCPro25_525_60 KCMIODeviceAVCSignal = 0x78 KCMIODeviceAVCSignalModeDVCPro25_625_50 KCMIODeviceAVCSignal = 0xf8 KCMIODeviceAVCSignalModeDVCPro50_525_60 KCMIODeviceAVCSignal = 0x74 KCMIODeviceAVCSignalModeDVCPro50_625_50 KCMIODeviceAVCSignal = 0xf4 KCMIODeviceAVCSignalModeDVHS KCMIODeviceAVCSignal = 0x1 KCMIODeviceAVCSignalModeHD1125_60 KCMIODeviceAVCSignal = 0x8 KCMIODeviceAVCSignalModeHD1250_50 KCMIODeviceAVCSignal = 0x88 KCMIODeviceAVCSignalModeHDV1_50 KCMIODeviceAVCSignal = 0x90 KCMIODeviceAVCSignalModeHDV1_60 KCMIODeviceAVCSignal = 0x10 KCMIODeviceAVCSignalModeHDV2_50 KCMIODeviceAVCSignal = 0x9a KCMIODeviceAVCSignalModeHDV2_60 KCMIODeviceAVCSignal = 0x1a KCMIODeviceAVCSignalModeHi8NTSC KCMIODeviceAVCSignal = 0xe KCMIODeviceAVCSignalModeHi8PAL KCMIODeviceAVCSignal = 0x8e KCMIODeviceAVCSignalModeMPEG12Mbps_50 KCMIODeviceAVCSignal = 0x94 KCMIODeviceAVCSignalModeMPEG12Mbps_60 KCMIODeviceAVCSignal = 0x14 KCMIODeviceAVCSignalModeMPEG25Mbps_50 KCMIODeviceAVCSignal = 0x90 KCMIODeviceAVCSignalModeMPEG25Mbps_60 KCMIODeviceAVCSignal = 0x10 KCMIODeviceAVCSignalModeMPEG6Mbps_50 KCMIODeviceAVCSignal = 0x98 KCMIODeviceAVCSignalModeMPEG6Mbps_60 KCMIODeviceAVCSignal = 0x18 KCMIODeviceAVCSignalModeMicroMV12Mbps_50 KCMIODeviceAVCSignal = 0xa4 KCMIODeviceAVCSignalModeMicroMV12Mbps_60 KCMIODeviceAVCSignal = 0x24 KCMIODeviceAVCSignalModeMicroMV6Mbps_50 KCMIODeviceAVCSignal = 0xa8 KCMIODeviceAVCSignalModeMicroMV6Mbps_60 KCMIODeviceAVCSignal = 0x28 KCMIODeviceAVCSignalModeSD525_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeSD625_50 KCMIODeviceAVCSignal = 0x80 KCMIODeviceAVCSignalModeSDL525_60 KCMIODeviceAVCSignal = 0x4 KCMIODeviceAVCSignalModeSDL625_50 KCMIODeviceAVCSignal = 0x84 KCMIODeviceAVCSignalModeSVHS525_60 KCMIODeviceAVCSignal = 0xd KCMIODeviceAVCSignalModeSVHS625_50 KCMIODeviceAVCSignal = 0xed KCMIODeviceAVCSignalModeVHSMESECAM KCMIODeviceAVCSignal = 0xd5 KCMIODeviceAVCSignalModeVHSMPAL KCMIODeviceAVCSignal = 0x25 KCMIODeviceAVCSignalModeVHSNPAL KCMIODeviceAVCSignal = 0xb5 KCMIODeviceAVCSignalModeVHSNTSC KCMIODeviceAVCSignal = 0x5 KCMIODeviceAVCSignalModeVHSPAL KCMIODeviceAVCSignal = 0xa5 KCMIODeviceAVCSignalModeVHSSECAM KCMIODeviceAVCSignal = 0xc5 )
func (KCMIODeviceAVCSignal) String ¶
func (e KCMIODeviceAVCSignal) String() string
type KCMIODeviceProperty ¶
type KCMIODeviceProperty uint32
const ( KCMIODevicePropertyAVCDeviceSignalMode KCMIODeviceProperty = 'p'<<24 | 'm'<<16 | 's'<<8 | 'm' // 'pmsm' KCMIODevicePropertyAVCDeviceType KCMIODeviceProperty = 'p'<<24 | 'm'<<16 | 'a'<<8 | 't' // 'pmat' KCMIODevicePropertyCanProcessAVCCommand KCMIODeviceProperty = 'p'<<24 | 'm'<<16 | 'a'<<8 | 'c' // 'pmac' KCMIODevicePropertyCanProcessRS422Command KCMIODeviceProperty = 'r'<<24 | '4'<<16 | '2'<<8 | '2' // 'r422' KCMIODevicePropertyCanSwitchFrameRatesWithoutFrameDrops KCMIODeviceProperty = 'f'<<24 | 'r'<<16 | 'n'<<8 | 'd' // 'frnd' KCMIODevicePropertyClientSyncDiscontinuity KCMIODeviceProperty = 'p'<<24 | 'm'<<16 | 'c'<<8 | 's' // 'pmcs' KCMIODevicePropertyDeviceCanBeDefaultDevice KCMIODeviceProperty = 'd'<<24 | 'f'<<16 | 'l'<<8 | 't' // 'dflt' KCMIODevicePropertyDeviceControl KCMIODeviceProperty = 'p'<<24 | 'm'<<16 | 'n'<<8 | 'h' // 'pmnh' KCMIODevicePropertyDeviceHasChanged KCMIODeviceProperty = 'd'<<24 | 'i'<<16 | 'f'<<8 | 'f' // 'diff' KCMIODevicePropertyDeviceHasStreamingError KCMIODeviceProperty = 's'<<24 | 'e'<<16 | 'r'<<8 | 'r' // 'serr' KCMIODevicePropertyDeviceIsAlive KCMIODeviceProperty = 'l'<<24 | 'i'<<16 | 'v'<<8 | 'n' // 'livn' KCMIODevicePropertyDeviceIsRunning KCMIODeviceProperty = 'g'<<24 | 'o'<<16 | 'i'<<8 | 'n' // 'goin' KCMIODevicePropertyDeviceIsRunningSomewhere KCMIODeviceProperty = 'g'<<24 | 'o'<<16 | 'n'<<8 | 'e' // 'gone' KCMIODevicePropertyDeviceUID KCMIODeviceProperty = 'u'<<24 | 'i'<<16 | 'd'<<8 | ' ' // 'uid ' KCMIODevicePropertyExcludeNonDALAccess KCMIODeviceProperty = 'i'<<24 | 'x'<<16 | 'n'<<8 | 'a' // 'ixna' KCMIODevicePropertyHogMode KCMIODeviceProperty = 'o'<<24 | 'i'<<16 | 'n'<<8 | 'k' // 'oink' KCMIODevicePropertyIIDCCSRData KCMIODeviceProperty = 'c'<<24 | 's'<<16 | 'r'<<8 | 'd' // 'csrd' KCMIODevicePropertyIIDCInitialUnitSpace KCMIODeviceProperty = 'i'<<24 | 'u'<<16 | 'n'<<8 | 's' // 'iuns' KCMIODevicePropertyLatency KCMIODeviceProperty = 'l'<<24 | 't'<<16 | 'n'<<8 | 'c' // 'ltnc' KCMIODevicePropertyLinkedAndSyncedCoreAudioDeviceUID KCMIODeviceProperty = 'p'<<24 | 'l'<<16 | 's'<<8 | 'd' // 'plsd' KCMIODevicePropertyLinkedCoreAudioDeviceUID KCMIODeviceProperty = 'p'<<24 | 'l'<<16 | 'u'<<8 | 'd' // 'plud' KCMIODevicePropertyLocationValue KCMIODeviceProperty = 'd'<<24 | 'l'<<16 | 'o'<<8 | 'c' // 'dloc' KCMIODevicePropertyModelUID KCMIODeviceProperty = 'm'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'muid' KCMIODevicePropertyPlugIn KCMIODeviceProperty = 'p'<<24 | 'l'<<16 | 'u'<<8 | 'g' // 'plug' KCMIODevicePropertySMPTETimeCallback KCMIODeviceProperty = 'p'<<24 | 'm'<<16 | 's'<<8 | 'c' // 'pmsc' KCMIODevicePropertyStreamConfiguration KCMIODeviceProperty = 's'<<24 | 'l'<<16 | 'a'<<8 | 'y' // 'slay' KCMIODevicePropertyStreams KCMIODeviceProperty = 's'<<24 | 't'<<16 | 'm'<<8 | '#' // 'stm#' KCMIODevicePropertySuspendedByUser KCMIODeviceProperty = 's'<<24 | 'b'<<16 | 'y'<<8 | 'u' // 'sbyu' KCMIODevicePropertyTransportType KCMIODeviceProperty = 't'<<24 | 'r'<<16 | 'a'<<8 | 'n' // 'tran' KCMIODevicePropertyVideoDigitizerComponents KCMIODeviceProperty = 'v'<<24 | 'd'<<16 | 'i'<<8 | 'g' // 'vdig' // Deprecated: use KCMIODevicePropertyDeviceControl. KCMIODevicePropertyDeviceMaster KCMIODeviceProperty = 'p'<<24 | 'm'<<16 | 'n'<<8 | 'h' // 'pmnh' )
func (KCMIODeviceProperty) String ¶
func (e KCMIODeviceProperty) String() string
type KCMIODevicePropertyLocation ¶
type KCMIODevicePropertyLocation uint32
const ( KCMIODevicePropertyLocationBuiltInDisplay KCMIODevicePropertyLocation = 1 KCMIODevicePropertyLocationExternalDevice KCMIODevicePropertyLocation = 3 KCMIODevicePropertyLocationExternalDisplay KCMIODevicePropertyLocation = 2 KCMIODevicePropertyLocationExternalWirelessDevice KCMIODevicePropertyLocation = 4 KCMIODevicePropertyLocationUnknown KCMIODevicePropertyLocation = 0 )
func (KCMIODevicePropertyLocation) String ¶ added in v0.5.1
func (e KCMIODevicePropertyLocation) String() string
type KCMIOExposureControlProperty ¶
type KCMIOExposureControlProperty uint32
const ( KCMIOExposureControlPropertyConvergenceSpeed KCMIOExposureControlProperty = 'e'<<24 | 'c'<<16 | 's'<<8 | 'p' // 'ecsp' KCMIOExposureControlPropertyIntegrationTime KCMIOExposureControlProperty = 'e'<<24 | 'i'<<16 | 'n'<<8 | 't' // 'eint' KCMIOExposureControlPropertyLockThreshold KCMIOExposureControlProperty = 'e'<<24 | 'l'<<16 | 'c'<<8 | 'k' // 'elck' KCMIOExposureControlPropertyMaximumGain KCMIOExposureControlProperty = 'e'<<24 | 'm'<<16 | 'a'<<8 | 'x' // 'emax' KCMIOExposureControlPropertyRegionOfInterest KCMIOExposureControlProperty = 'e'<<24 | 'r'<<16 | 'o'<<8 | 'i' // 'eroi' KCMIOExposureControlPropertyStability KCMIOExposureControlProperty = 'e'<<24 | 's'<<16 | 't'<<8 | 'y' // 'esty' KCMIOExposureControlPropertyStable KCMIOExposureControlProperty = 'e'<<24 | 's'<<16 | 't'<<8 | 'b' // 'estb' KCMIOExposureControlPropertyTarget KCMIOExposureControlProperty = 'e'<<24 | 't'<<16 | 'g'<<8 | 't' // 'etgt' KCMIOExposureControlPropertyUnlockThreshold KCMIOExposureControlProperty = 'e'<<24 | 'u'<<16 | 'l'<<8 | 'k' // 'eulk' )
func (KCMIOExposureControlProperty) String ¶
func (e KCMIOExposureControlProperty) String() string
type KCMIOFeatureControlProperty ¶
type KCMIOFeatureControlProperty uint32
const ( KCMIOFeatureControlPropertyAbsoluteNative KCMIOFeatureControlProperty = 'f'<<24 | 'c'<<16 | 'n'<<8 | 'a' // 'fcna' KCMIOFeatureControlPropertyAbsoluteRange KCMIOFeatureControlProperty = 'f'<<24 | 'c'<<16 | 'a'<<8 | 'r' // 'fcar' KCMIOFeatureControlPropertyAbsoluteUnitName KCMIOFeatureControlProperty = 'f'<<24 | 'c'<<16 | 'u'<<8 | 'n' // 'fcun' KCMIOFeatureControlPropertyAbsoluteValue KCMIOFeatureControlProperty = 'f'<<24 | 'c'<<16 | 'a'<<8 | 'v' // 'fcav' KCMIOFeatureControlPropertyAutomaticManual KCMIOFeatureControlProperty = 'f'<<24 | 'c'<<16 | 'a'<<8 | 'm' // 'fcam' KCMIOFeatureControlPropertyConvertAbsoluteToNative KCMIOFeatureControlProperty = 'f'<<24 | 'a'<<16 | '2'<<8 | 'n' // 'fa2n' KCMIOFeatureControlPropertyConvertNativeToAbsolute KCMIOFeatureControlProperty = 'f'<<24 | 'n'<<16 | '2'<<8 | 'a' // 'fn2a' KCMIOFeatureControlPropertyNativeData KCMIOFeatureControlProperty = 'f'<<24 | 'c'<<16 | 'n'<<8 | 'd' // 'fcnd' KCMIOFeatureControlPropertyNativeDataRange KCMIOFeatureControlProperty = 'f'<<24 | 'c'<<16 | 'd'<<8 | 'r' // 'fcdr' KCMIOFeatureControlPropertyNativeRange KCMIOFeatureControlProperty = 'f'<<24 | 'c'<<16 | 'n'<<8 | 'r' // 'fcnr' KCMIOFeatureControlPropertyNativeValue KCMIOFeatureControlProperty = 'f'<<24 | 'c'<<16 | 'n'<<8 | 'v' // 'fcnv' KCMIOFeatureControlPropertyOnOff KCMIOFeatureControlProperty = 'f'<<24 | 'c'<<16 | 'o'<<8 | 'o' // 'fcoo' KCMIOFeatureControlPropertyTune KCMIOFeatureControlProperty = 'f'<<24 | 'c'<<16 | 't'<<8 | 'n' // 'fctn' )
func (KCMIOFeatureControlProperty) String ¶
func (e KCMIOFeatureControlProperty) String() string
type KCMIOHardwareNoError ¶
type KCMIOHardwareNoError uint32
const ( KCMIODevicePermissionsError KCMIOHardwareNoError = '!'<<24 | 'h'<<16 | 'o'<<8 | 'g' // '!hog' KCMIODeviceUnsupportedFormatError KCMIOHardwareNoError = '!'<<24 | 'd'<<16 | 'a'<<8 | 't' // '!dat' KCMIOHardwareBadDeviceError KCMIOHardwareNoError = '!'<<24 | 'd'<<16 | 'e'<<8 | 'v' // '!dev' KCMIOHardwareBadObjectError KCMIOHardwareNoError = '!'<<24 | 'o'<<16 | 'b'<<8 | 'j' // '!obj' KCMIOHardwareBadPropertySizeError KCMIOHardwareNoError = '!'<<24 | 's'<<16 | 'i'<<8 | 'z' // '!siz' KCMIOHardwareBadStreamError KCMIOHardwareNoError = '!'<<24 | 's'<<16 | 't'<<8 | 'r' // '!str' KCMIOHardwareIllegalOperationError KCMIOHardwareNoError = 'n'<<24 | 'o'<<16 | 'p'<<8 | 'e' // 'nope' KCMIOHardwareNoErrorValue KCMIOHardwareNoError = 0 KCMIOHardwareNotRunningError KCMIOHardwareNoError = 's'<<24 | 't'<<16 | 'o'<<8 | 'p' // 'stop' KCMIOHardwareNotStoppedError KCMIOHardwareNoError = 'r'<<24 | 'u'<<16 | 'n'<<8 | ' ' // 'run ' KCMIOHardwareSuspendedBySystemError KCMIOHardwareNoError = 'd'<<24 | 'e'<<16 | 'n'<<8 | 'y' // 'deny' KCMIOHardwareUnknownPropertyError KCMIOHardwareNoError = 'w'<<24 | 'h'<<16 | 'o'<<8 | '?' // 'who?' KCMIOHardwareUnspecifiedError KCMIOHardwareNoError = 'w'<<24 | 'h'<<16 | 'a'<<8 | 't' // 'what' KCMIOHardwareUnsupportedOperationError KCMIOHardwareNoError = 'u'<<24 | 'n'<<16 | 'o'<<8 | 'p' // 'unop' )
func (KCMIOHardwareNoError) String ¶ added in v0.6.17
func (e KCMIOHardwareNoError) String() string
type KCMIOHardwareProperty ¶
type KCMIOHardwareProperty uint32
const ( KCMIOHardwarePropertyAllowScreenCaptureDevices KCMIOHardwareProperty = 'y'<<24 | 'e'<<16 | 's'<<8 | ' ' // 'yes ' KCMIOHardwarePropertyAllowWirelessScreenCaptureDevices KCMIOHardwareProperty = 'w'<<24 | 's'<<16 | 'c'<<8 | 'd' // 'wscd' KCMIOHardwarePropertyDefaultInputDevice KCMIOHardwareProperty = 'd'<<24 | 'I'<<16 | 'n'<<8 | ' ' // 'dIn ' KCMIOHardwarePropertyDefaultOutputDevice KCMIOHardwareProperty = 'd'<<24 | 'O'<<16 | 'u'<<8 | 't' // 'dOut' KCMIOHardwarePropertyDeviceForUID KCMIOHardwareProperty = 'd'<<24 | 'u'<<16 | 'i'<<8 | 'd' // 'duid' KCMIOHardwarePropertyDevices KCMIOHardwareProperty = 'd'<<24 | 'e'<<16 | 'v'<<8 | '#' // 'dev#' KCMIOHardwarePropertyIsInitingOrExiting KCMIOHardwareProperty = 'i'<<24 | 'n'<<16 | 'o'<<8 | 't' // 'inot' KCMIOHardwarePropertyPlugInForBundleID KCMIOHardwareProperty = 'p'<<24 | 'i'<<16 | 'b'<<8 | 'i' // 'pibi' KCMIOHardwarePropertyProcessIsMain KCMIOHardwareProperty = 'm'<<24 | 'a'<<16 | 'i'<<8 | 'n' // 'main' KCMIOHardwarePropertySleepingIsAllowed KCMIOHardwareProperty = 's'<<24 | 'l'<<16 | 'e'<<8 | 'p' // 'slep' KCMIOHardwarePropertySuspendedBySystem KCMIOHardwareProperty = 's'<<24 | 'b'<<16 | 'y'<<8 | 's' // 'sbys' KCMIOHardwarePropertyUnloadingIsAllowed KCMIOHardwareProperty = 'u'<<24 | 'n'<<16 | 'l'<<8 | 'd' // 'unld' KCMIOHardwarePropertyUserSessionIsActiveOrHeadless KCMIOHardwareProperty = 'u'<<24 | 's'<<16 | 'e'<<8 | 'r' // 'user' // Deprecated: use KCMIOHardwarePropertyProcessIsMain. KCMIOHardwarePropertyProcessIsMaster KCMIOHardwareProperty = 'm'<<24 | 'a'<<16 | 's'<<8 | 't' // 'mast' )
func (KCMIOHardwareProperty) String ¶
func (e KCMIOHardwareProperty) String() string
type KCMIOJackControlClassID ¶
type KCMIOJackControlClassID uint32
const ( KCMIODirectionControlClassID KCMIOJackControlClassID = 'd'<<24 | 'i'<<16 | 'r'<<8 | 'e' // 'dire' KCMIOJackControlClassIDValue KCMIOJackControlClassID = 'j'<<24 | 'a'<<16 | 'c'<<8 | 'k' // 'jack' )
func (KCMIOJackControlClassID) String ¶ added in v0.6.17
func (e KCMIOJackControlClassID) String() string
type KCMIOObject ¶
type KCMIOObject uint32
const ( KCMIOObjectClassID KCMIOObject = 'a'<<24 | 'o'<<16 | 'b'<<8 | 'j' // 'aobj' KCMIOObjectClassIDWildcard KCMIOObject = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****' KCMIOObjectPropertyElementMain KCMIOObject = 0 KCMIOObjectPropertyScopeGlobal KCMIOObject = 'g'<<24 | 'l'<<16 | 'o'<<8 | 'b' // 'glob' KCMIOObjectUnknown KCMIOObject = 0 // Deprecated: use KCMIOObjectPropertyElementMain. KCMIOObjectPropertyElementMaster KCMIOObject = 0 )
func (KCMIOObject) String ¶
func (e KCMIOObject) String() string
type KCMIOObjectPropertyClass ¶
type KCMIOObjectPropertyClass uint32
const ( KCMIOObjectPropertyClassValue KCMIOObjectPropertyClass = 'c'<<24 | 'l'<<16 | 'a'<<8 | 's' // 'clas' KCMIOObjectPropertyCreator KCMIOObjectPropertyClass = 'o'<<24 | 'p'<<16 | 'l'<<8 | 'g' // 'oplg' KCMIOObjectPropertyElementCategoryName KCMIOObjectPropertyClass = 'l'<<24 | 'c'<<16 | 'c'<<8 | 'n' // 'lccn' KCMIOObjectPropertyElementName KCMIOObjectPropertyClass = 'l'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'lchn' KCMIOObjectPropertyElementNumberName KCMIOObjectPropertyClass = 'l'<<24 | 'c'<<16 | 'n'<<8 | 'n' // 'lcnn' KCMIOObjectPropertyListenerAdded KCMIOObjectPropertyClass = 'l'<<24 | 'i'<<16 | 's'<<8 | 'a' // 'lisa' KCMIOObjectPropertyListenerRemoved KCMIOObjectPropertyClass = 'l'<<24 | 'i'<<16 | 's'<<8 | 'r' // 'lisr' KCMIOObjectPropertyManufacturer KCMIOObjectPropertyClass = 'l'<<24 | 'm'<<16 | 'a'<<8 | 'k' // 'lmak' KCMIOObjectPropertyName KCMIOObjectPropertyClass = 'l'<<24 | 'n'<<16 | 'a'<<8 | 'm' // 'lnam' KCMIOObjectPropertyOwnedObjects KCMIOObjectPropertyClass = 'o'<<24 | 'w'<<16 | 'n'<<8 | 'd' // 'ownd' KCMIOObjectPropertyOwner KCMIOObjectPropertyClass = 's'<<24 | 't'<<16 | 'd'<<8 | 'v' // 'stdv' )
func (KCMIOObjectPropertyClass) String ¶ added in v0.6.17
func (e KCMIOObjectPropertyClass) String() string
type KCMIOObjectPropertySelectorWildcard ¶
type KCMIOObjectPropertySelectorWildcard uint32
const ( KCMIOObjectPropertyElementWildcard KCMIOObjectPropertySelectorWildcard = 0xffffffff KCMIOObjectPropertyScopeWildcard KCMIOObjectPropertySelectorWildcard = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****' KCMIOObjectPropertySelectorWildcardValue KCMIOObjectPropertySelectorWildcard = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****' )
func (KCMIOObjectPropertySelectorWildcard) String ¶ added in v0.6.17
func (e KCMIOObjectPropertySelectorWildcard) String() string
type KCMIOPlugInClassI ¶ added in v0.5.1
type KCMIOPlugInClassI uint32
const (
KCMIOPlugInClassID KCMIOPlugInClassI = 'a'<<24 | 'p'<<16 | 'l'<<8 | 'g' // 'aplg'
)
func (KCMIOPlugInClassI) String ¶ added in v0.5.1
func (e KCMIOPlugInClassI) String() string
type KCMIOPlugInProperty ¶
type KCMIOPlugInProperty uint32
const ( KCMIOPlugInPropertyBundleID KCMIOPlugInProperty = 'p'<<24 | 'i'<<16 | 'i'<<8 | 'd' // 'piid' KCMIOPlugInPropertyIsExtension KCMIOPlugInProperty = 'p'<<24 | 'i'<<16 | 'i'<<8 | 'e' // 'piie' )
func (KCMIOPlugInProperty) String ¶
func (e KCMIOPlugInProperty) String() string
type KCMIOSampleBuffer ¶
type KCMIOSampleBuffer uint32
const ( KCMIOSampleBufferDiscontinuityFlag_BufferOverrun KCMIOSampleBuffer = 128 // KCMIOSampleBufferDiscontinuityFlag_ClientSyncDiscontinuity: # Discussion KCMIOSampleBufferDiscontinuityFlag_ClientSyncDiscontinuity KCMIOSampleBuffer = 1024 KCMIOSampleBufferDiscontinuityFlag_CodecSettingsChanged KCMIOSampleBuffer = 131072 // KCMIOSampleBufferDiscontinuityFlag_DataFormatChanged: # Discussion KCMIOSampleBufferDiscontinuityFlag_DataFormatChanged KCMIOSampleBuffer = 8192 KCMIOSampleBufferDiscontinuityFlag_DataWasDropped KCMIOSampleBuffer = 64 KCMIOSampleBufferDiscontinuityFlag_DataWasFlushed KCMIOSampleBuffer = 32 KCMIOSampleBufferDiscontinuityFlag_DiscontinuityInDTS KCMIOSampleBuffer = 256 KCMIOSampleBufferDiscontinuityFlag_DurationWasExtended KCMIOSampleBuffer = 32768 KCMIOSampleBufferDiscontinuityFlag_MalformedData KCMIOSampleBuffer = 16 KCMIOSampleBufferDiscontinuityFlag_NoDataMarker KCMIOSampleBuffer = 4096 KCMIOSampleBufferDiscontinuityFlag_PacketError KCMIOSampleBuffer = 4 KCMIOSampleBufferDiscontinuityFlag_RelatedToDiscontinuity KCMIOSampleBuffer = 512 // KCMIOSampleBufferDiscontinuityFlag_SleepWakeCycle: # Discussion KCMIOSampleBufferDiscontinuityFlag_SleepWakeCycle KCMIOSampleBuffer = 65536 KCMIOSampleBufferDiscontinuityFlag_StreamDiscontinuity KCMIOSampleBuffer = 8 KCMIOSampleBufferDiscontinuityFlag_TimecodeDiscontinuity KCMIOSampleBuffer = 2 KCMIOSampleBufferDiscontinuityFlag_TimingReferenceJumped KCMIOSampleBuffer = 16384 // KCMIOSampleBufferDiscontinuityFlag_TrickPlay: # Discussion KCMIOSampleBufferDiscontinuityFlag_TrickPlay KCMIOSampleBuffer = 2048 KCMIOSampleBufferDiscontinuityFlag_UnknownDiscontinuity KCMIOSampleBuffer = 1 KCMIOSampleBufferNoDiscontinuities KCMIOSampleBuffer = 0 )
func (KCMIOSampleBuffer) String ¶
func (e KCMIOSampleBuffer) String() string
type KCMIOSampleBufferNoDataEvent ¶
type KCMIOSampleBufferNoDataEvent uint32
const ( KCMIOSampleBufferNoDataEvent_DeviceDidNotSync KCMIOSampleBufferNoDataEvent = 2 KCMIOSampleBufferNoDataEvent_DeviceInWrongMode KCMIOSampleBufferNoDataEvent = 3 KCMIOSampleBufferNoDataEvent_NoMedia KCMIOSampleBufferNoDataEvent = 1 KCMIOSampleBufferNoDataEvent_ProcessingError KCMIOSampleBufferNoDataEvent = 4 KCMIOSampleBufferNoDataEvent_SleepWakeCycle KCMIOSampleBufferNoDataEvent = 5 KCMIOSampleBufferNoDataEvent_Unknown KCMIOSampleBufferNoDataEvent = 0 )
func (KCMIOSampleBufferNoDataEvent) String ¶
func (e KCMIOSampleBufferNoDataEvent) String() string
type KCMIOSelectorControlProperty ¶
type KCMIOSelectorControlProperty uint32
const ( KCMIOSelectorControlPropertyAvailableItemNames KCMIOSelectorControlProperty = 's'<<24 | 'c'<<16 | 'a'<<8 | 'n' // 'scan' KCMIOSelectorControlPropertyAvailableItems KCMIOSelectorControlProperty = 's'<<24 | 'c'<<16 | 'a'<<8 | 'i' // 'scai' KCMIOSelectorControlPropertyCurrentItem KCMIOSelectorControlProperty = 's'<<24 | 'c'<<16 | 'c'<<8 | 'i' // 'scci' KCMIOSelectorControlPropertyItemName KCMIOSelectorControlProperty = 's'<<24 | 'c'<<16 | 'i'<<8 | 'n' // 'scin' )
func (KCMIOSelectorControlProperty) String ¶
func (e KCMIOSelectorControlProperty) String() string
type KCMIOStream ¶
type KCMIOStream uint32
const ( KCMIOStreamClassID KCMIOStream = 'a'<<24 | 's'<<16 | 't'<<8 | 'r' // 'astr' KCMIOStreamUnknown KCMIOStream = 0 )
func (KCMIOStream) String ¶
func (e KCMIOStream) String() string
type KCMIOStreamProperty ¶
type KCMIOStreamProperty uint32
const ( KCMIOStreamPropertyCanProcessDeckCommand KCMIOStreamProperty = 'p'<<24 | 'd'<<16 | 'c'<<8 | 'd' // 'pdcd' KCMIOStreamPropertyClock KCMIOStreamProperty = 'p'<<24 | 'm'<<16 | 'c'<<8 | 'l' // 'pmcl' KCMIOStreamPropertyDeck KCMIOStreamProperty = 'd'<<24 | 'e'<<16 | 'c'<<8 | 'k' // 'deck' KCMIOStreamPropertyDeckCueing KCMIOStreamProperty = 'c'<<24 | 'u'<<16 | 'e'<<8 | 'c' // 'cuec' KCMIOStreamPropertyDeckDropness KCMIOStreamProperty = 'd'<<24 | 'r'<<16 | 'o'<<8 | 'p' // 'drop' KCMIOStreamPropertyDeckFrameNumber KCMIOStreamProperty = 't'<<24 | 'c'<<16 | 'o'<<8 | 'd' // 'tcod' KCMIOStreamPropertyDeckLocal KCMIOStreamProperty = 'l'<<24 | 'o'<<16 | 'c'<<8 | 'l' // 'locl' KCMIOStreamPropertyDeckThreaded KCMIOStreamProperty = 't'<<24 | 'h'<<16 | 'r'<<8 | 'd' // 'thrd' KCMIOStreamPropertyDeviceSyncTimeoutInMSec KCMIOStreamProperty = 'p'<<24 | 'm'<<16 | 'n'<<8 | '2' // 'pmn2' KCMIOStreamPropertyDirection KCMIOStreamProperty = 's'<<24 | 'd'<<16 | 'i'<<8 | 'r' // 'sdir' KCMIOStreamPropertyEndOfData KCMIOStreamProperty = 'p'<<24 | 'm'<<16 | 'e'<<8 | 'd' // 'pmed' KCMIOStreamPropertyFirstOutputPresentationTimeStamp KCMIOStreamProperty = 'p'<<24 | 'o'<<16 | 'p'<<8 | 't' // 'popt' KCMIOStreamPropertyFormatDescription KCMIOStreamProperty = 'p'<<24 | 'f'<<16 | 't'<<8 | ' ' // 'pft ' KCMIOStreamPropertyFormatDescriptions KCMIOStreamProperty = 'p'<<24 | 'f'<<16 | 't'<<8 | 'a' // 'pfta' KCMIOStreamPropertyFrameRate KCMIOStreamProperty = 'n'<<24 | 'f'<<16 | 'r'<<8 | 't' // 'nfrt' KCMIOStreamPropertyFrameRateRanges KCMIOStreamProperty = 'f'<<24 | 'r'<<16 | 'r'<<8 | 'g' // 'frrg' KCMIOStreamPropertyFrameRates KCMIOStreamProperty = 'n'<<24 | 'f'<<16 | 'r'<<8 | '#' // 'nfr#' KCMIOStreamPropertyInitialPresentationTimeStampForLinkedAndSyncedAudio KCMIOStreamProperty = 'i'<<24 | 'p'<<16 | 'l'<<8 | 's' // 'ipls' KCMIOStreamPropertyLatency KCMIOStreamProperty = 'l'<<24 | 't'<<16 | 'n'<<8 | 'c' // 'ltnc' KCMIOStreamPropertyMinimumFrameRate KCMIOStreamProperty = 'm'<<24 | 'f'<<16 | 'r'<<8 | 't' // 'mfrt' KCMIOStreamPropertyNoDataEventCount KCMIOStreamProperty = 'p'<<24 | 'm'<<16 | 'n'<<8 | '3' // 'pmn3' KCMIOStreamPropertyNoDataTimeoutInMSec KCMIOStreamProperty = 'p'<<24 | 'm'<<16 | 'n'<<8 | '1' // 'pmn1' KCMIOStreamPropertyOutputBufferQueueSize KCMIOStreamProperty = 'p'<<24 | 'm'<<16 | 'o'<<8 | 'q' // 'pmoq' KCMIOStreamPropertyOutputBufferRepeatCount KCMIOStreamProperty = 'p'<<24 | 'm'<<16 | 'o'<<8 | 'r' // 'pmor' KCMIOStreamPropertyOutputBufferUnderrunCount KCMIOStreamProperty = 'p'<<24 | 'm'<<16 | 'o'<<8 | 'u' // 'pmou' KCMIOStreamPropertyOutputBuffersNeededForThrottledPlayback KCMIOStreamProperty = 'm'<<24 | 'i'<<16 | 'f'<<8 | 'f' // 'miff' KCMIOStreamPropertyOutputBuffersRequiredForStartup KCMIOStreamProperty = 'p'<<24 | 'm'<<16 | 'o'<<8 | 's' // 'pmos' KCMIOStreamPropertyPreferredFormatDescription KCMIOStreamProperty = 'p'<<24 | 'r'<<16 | 'f'<<8 | 'd' // 'prfd' KCMIOStreamPropertyPreferredFrameRate KCMIOStreamProperty = 'p'<<24 | 'r'<<16 | 'f'<<8 | 'r' // 'prfr' KCMIOStreamPropertyScheduledOutputNotificationProc KCMIOStreamProperty = 's'<<24 | 'o'<<16 | 'n'<<8 | 'p' // 'sonp' KCMIOStreamPropertyStartingChannel KCMIOStreamProperty = 's'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'schn' KCMIOStreamPropertyStillImage KCMIOStreamProperty = 's'<<24 | 't'<<16 | 'm'<<8 | 'g' // 'stmg' KCMIOStreamPropertyStillImageFormatDescriptions KCMIOStreamProperty = 's'<<24 | 't'<<16 | 'f'<<8 | 't' // 'stft' KCMIOStreamPropertyTerminalType KCMIOStreamProperty = 't'<<24 | 'e'<<16 | 'r'<<8 | 'm' // 'term' )
func (KCMIOStreamProperty) String ¶
func (e KCMIOStreamProperty) String() string
type KCMIOSystemObjectClassID ¶
type KCMIOSystemObjectClassID uint32
const ( KCMIOObjectSystemObject KCMIOSystemObjectClassID = 1 KCMIOSystemObjectClassIDValue KCMIOSystemObjectClassID = 'a'<<24 | 's'<<16 | 'y'<<8 | 's' // 'asys' )
func (KCMIOSystemObjectClassID) String ¶ added in v0.6.17
func (e KCMIOSystemObjectClassID) String() string