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 BindFunc(fptr any, name string) (err error)
- 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())
- func SymbolAddress(name string) (uintptr, error)
- func TryCMIODeviceProcessAVCCommand(deviceID CMIODeviceID, ioAVCCommand *CMIODeviceAVCCommand) (int32, error)
- func TryCMIODeviceProcessRS422Command(deviceID CMIODeviceID, ioRS422Command *CMIODeviceRS422Command) (int32, error)
- func TryCMIODeviceStartStream(deviceID CMIODeviceID, streamID CMIOStreamID) (int32, error)
- func TryCMIODeviceStopStream(deviceID CMIODeviceID, streamID CMIOStreamID) (int32, error)
- func TryCMIOObjectAddPropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) (int32, error)
- func TryCMIOObjectAddPropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) (int32, error)
- func TryCMIOObjectCreate(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, ...) (int32, error)
- func TryCMIOObjectGetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) (int32, error)
- func TryCMIOObjectGetPropertyDataSize(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) (int32, error)
- func TryCMIOObjectHasProperty(objectID CMIOObjectID, address *CMIOObjectPropertyAddress) (bool, error)
- func TryCMIOObjectIsPropertySettable(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, isSettable *bool) (int32, error)
- func TryCMIOObjectPropertiesChanged(owningPlugIn CMIOHardwarePlugInRef, objectID CMIOObjectID, ...) (int32, error)
- func TryCMIOObjectRemovePropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) (int32, error)
- func TryCMIOObjectRemovePropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) (int32, error)
- func TryCMIOObjectSetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) (int32, error)
- func TryCMIOObjectShow(objectID CMIOObjectID) error
- func TryCMIOObjectsPublishedAndDied(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, ...) (int32, error)
- func TryCMIOSampleBufferCopyNonRequiredAttachments(sourceSBuf uintptr, destSBuf uintptr, attachmentMode uint32) (int32, error)
- func TryCMIOSampleBufferCopySampleAttachments(sourceSBuf uintptr, destSBuf uintptr) (int32, error)
- func TryCMIOSampleBufferCreate(allocator corefoundation.CFAllocatorRef, dataBuffer coremedia.CMBlockBufferRef, ...) (int32, error)
- func TryCMIOSampleBufferCreateForImageBuffer(allocator corefoundation.CFAllocatorRef, ...) (int32, error)
- func TryCMIOSampleBufferCreateNoDataMarker(allocator corefoundation.CFAllocatorRef, noDataEvent uint32, ...) (int32, error)
- func TryCMIOSampleBufferGetDiscontinuityFlags(sbuf uintptr) (uint32, error)
- func TryCMIOSampleBufferGetSequenceNumber(sbuf uintptr) (uint64, error)
- func TryCMIOSampleBufferSetDiscontinuityFlags(allocator corefoundation.CFAllocatorRef, sbuf uintptr, ...) error
- func TryCMIOSampleBufferSetSequenceNumber(allocator corefoundation.CFAllocatorRef, sbuf uintptr, sequenceNumber uint64) error
- func TryCMIOStreamClockConvertHostTimeToDeviceTime(hostTime uint64, clock corefoundation.CFTypeRef) (coremedia.CMTime, error)
- func TryCMIOStreamClockCreate(allocator corefoundation.CFAllocatorRef, clockName corefoundation.CFStringRef, ...) (int32, error)
- func TryCMIOStreamClockInvalidate(clock corefoundation.CFTypeRef) (int32, error)
- func TryCMIOStreamClockPostTimingEvent(eventTime coremedia.CMTime, hostTime uint64, resynchronize bool, ...) (int32, error)
- func TryCMIOStreamCopyBufferQueue(streamID CMIOStreamID, queueAlteredProc CMIODeviceStreamQueueAlteredProc, ...) (int32, error)
- func TryCMIOStreamDeckCueTo(streamID CMIOStreamID, frameNumber uint64, playOnCue bool) (int32, error)
- func TryCMIOStreamDeckJog(streamID CMIOStreamID, speed int32) (int32, error)
- func TryCMIOStreamDeckPlay(streamID CMIOStreamID) (int32, error)
- func TryCMIOStreamDeckStop(streamID CMIOStreamID) (int32, error)
- 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 KCMIOBlackLevelControlClassIDConstants
- type KCMIOBooleanControlProperty
- type KCMIOControlClassIDConstants
- type KCMIOControlProperty
- type KCMIOData
- type KCMIODeckShuttle
- type KCMIODeckState
- type KCMIODeckStatus
- type KCMIODevice
- type KCMIODeviceAVCSignal
- type KCMIODeviceProperty
- type KCMIODevicePropertyLocation
- type KCMIOExposureControlProperty
- type KCMIOFeatureControlProperty
- type KCMIOHardwareNoErrorConstants
- type KCMIOHardwareProperty
- type KCMIOJackControlClassIDConstants
- type KCMIOObject
- type KCMIOObjectPropertyClassConstants
- type KCMIOObjectPropertySelectorWildcardConstants
- type KCMIOPlugInClassI
- type KCMIOPlugInProperty
- type KCMIOSampleBuffer
- type KCMIOSampleBufferNoDataEvent
- type KCMIOSelectorControlProperty
- type KCMIOStream
- type KCMIOStreamProperty
- type KCMIOSystemObjectClassIDConstants
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 BindFunc ¶
BindFunc binds the CoreMediaIO symbol name into fptr, which must be a pointer to a func variable.
The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.
func CMIODeviceProcessAVCCommand ¶
func CMIODeviceProcessAVCCommand(deviceID CMIODeviceID, ioAVCCommand *CMIODeviceAVCCommand) int32
CMIODeviceProcessAVCCommand.
It panics if CMIODeviceProcessAVCCommand is unavailable at run time; use TryCMIODeviceProcessAVCCommand to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceProcessAVCCommand(_:_:)
func CMIODeviceProcessRS422Command ¶
func CMIODeviceProcessRS422Command(deviceID CMIODeviceID, ioRS422Command *CMIODeviceRS422Command) int32
CMIODeviceProcessRS422Command.
It panics if CMIODeviceProcessRS422Command is unavailable at run time; use TryCMIODeviceProcessRS422Command to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceProcessRS422Command(_:_:)
func CMIODeviceStartStream ¶
func CMIODeviceStartStream(deviceID CMIODeviceID, streamID CMIOStreamID) int32
CMIODeviceStartStream.
It panics if CMIODeviceStartStream is unavailable at run time; use TryCMIODeviceStartStream to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceStartStream(_:_:)
func CMIODeviceStopStream ¶
func CMIODeviceStopStream(deviceID CMIODeviceID, streamID CMIOStreamID) int32
CMIODeviceStopStream.
It panics if CMIODeviceStopStream is unavailable at run time; use TryCMIODeviceStopStream to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceStopStream(_:_:)
func CMIOObjectAddPropertyListener ¶
func CMIOObjectAddPropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, listener CMIOObjectPropertyListenerProc, clientData unsafe.Pointer) int32
CMIOObjectAddPropertyListener.
It panics if CMIOObjectAddPropertyListener is unavailable at run time; use TryCMIOObjectAddPropertyListener to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectAddPropertyListener(_:_:_:_:)
func CMIOObjectAddPropertyListenerBlock ¶
func CMIOObjectAddPropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, dispatchQueue dispatch.Queue, listener CMIOObjectPropertyListenerBlock) int32
CMIOObjectAddPropertyListenerBlock.
It panics if CMIOObjectAddPropertyListenerBlock is unavailable at run time; use TryCMIOObjectAddPropertyListenerBlock to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectAddPropertyListenerBlock(_:_:_:_:)
func CMIOObjectCreate
deprecated
func CMIOObjectCreate(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, classID CMIOClassID, objectID *CMIOObjectID) int32
CMIOObjectCreate.
It panics if CMIOObjectCreate is unavailable at run time; use TryCMIOObjectCreate to get an error instead.
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.
It panics if CMIOObjectGetPropertyData is unavailable at run time; use TryCMIOObjectGetPropertyData to get an error instead.
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.
It panics if CMIOObjectGetPropertyDataSize is unavailable at run time; use TryCMIOObjectGetPropertyDataSize to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectGetPropertyDataSize(_:_:_:_:_:)
func CMIOObjectHasProperty ¶
func CMIOObjectHasProperty(objectID CMIOObjectID, address *CMIOObjectPropertyAddress) bool
CMIOObjectHasProperty.
It panics if CMIOObjectHasProperty is unavailable at run time; use TryCMIOObjectHasProperty to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectHasProperty(_:_:)
func CMIOObjectIsPropertySettable ¶
func CMIOObjectIsPropertySettable(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, isSettable *bool) int32
CMIOObjectIsPropertySettable.
It panics if CMIOObjectIsPropertySettable is unavailable at run time; use TryCMIOObjectIsPropertySettable to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectIsPropertySettable(_:_:_:)
func CMIOObjectPropertiesChanged
deprecated
func CMIOObjectPropertiesChanged(owningPlugIn CMIOHardwarePlugInRef, objectID CMIOObjectID, numberAddresses uint32, addresses *CMIOObjectPropertyAddress) int32
CMIOObjectPropertiesChanged.
It panics if CMIOObjectPropertiesChanged is unavailable at run time; use TryCMIOObjectPropertiesChanged to get an error instead.
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.
It panics if CMIOObjectRemovePropertyListener is unavailable at run time; use TryCMIOObjectRemovePropertyListener to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectRemovePropertyListener(_:_:_:_:)
func CMIOObjectRemovePropertyListenerBlock ¶
func CMIOObjectRemovePropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, dispatchQueue dispatch.Queue, listener CMIOObjectPropertyListenerBlock) int32
CMIOObjectRemovePropertyListenerBlock.
It panics if CMIOObjectRemovePropertyListenerBlock is unavailable at run time; use TryCMIOObjectRemovePropertyListenerBlock to get an error instead.
func CMIOObjectSetPropertyData ¶
func CMIOObjectSetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, qualifierDataSize uint32, qualifierData unsafe.Pointer, dataSize uint32, data unsafe.Pointer) int32
CMIOObjectSetPropertyData.
It panics if CMIOObjectSetPropertyData is unavailable at run time; use TryCMIOObjectSetPropertyData to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectSetPropertyData(_:_:_:_:_:_:)
func CMIOObjectShow ¶
func CMIOObjectShow(objectID CMIOObjectID)
CMIOObjectShow.
It panics if CMIOObjectShow is unavailable at run time; use TryCMIOObjectShow to get an error instead.
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.
It panics if CMIOObjectsPublishedAndDied is unavailable at run time; use TryCMIOObjectsPublishedAndDied to get an error instead.
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.
It panics if CMIOSampleBufferCopyNonRequiredAttachments is unavailable at run time; use TryCMIOSampleBufferCopyNonRequiredAttachments to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferCopyNonRequiredAttachments
func CMIOSampleBufferCopySampleAttachments ¶
CMIOSampleBufferCopySampleAttachments.
It panics if CMIOSampleBufferCopySampleAttachments is unavailable at run time; use TryCMIOSampleBufferCopySampleAttachments to get an error instead.
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.
It panics if CMIOSampleBufferCreate is unavailable at run time; use TryCMIOSampleBufferCreate to get an error instead.
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.
It panics if CMIOSampleBufferCreateForImageBuffer is unavailable at run time; use TryCMIOSampleBufferCreateForImageBuffer to get an error instead.
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.
It panics if CMIOSampleBufferCreateNoDataMarker is unavailable at run time; use TryCMIOSampleBufferCreateNoDataMarker to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferCreateNoDataMarker
func CMIOSampleBufferGetDiscontinuityFlags ¶
CMIOSampleBufferGetDiscontinuityFlags.
It panics if CMIOSampleBufferGetDiscontinuityFlags is unavailable at run time; use TryCMIOSampleBufferGetDiscontinuityFlags to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferGetDiscontinuityFlags
func CMIOSampleBufferGetSequenceNumber ¶
CMIOSampleBufferGetSequenceNumber.
It panics if CMIOSampleBufferGetSequenceNumber is unavailable at run time; use TryCMIOSampleBufferGetSequenceNumber to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferGetSequenceNumber
func CMIOSampleBufferSetDiscontinuityFlags ¶
func CMIOSampleBufferSetDiscontinuityFlags(allocator corefoundation.CFAllocatorRef, sbuf uintptr, discontinuityFlags uint32)
CMIOSampleBufferSetDiscontinuityFlags.
It panics if CMIOSampleBufferSetDiscontinuityFlags is unavailable at run time; use TryCMIOSampleBufferSetDiscontinuityFlags to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferSetDiscontinuityFlags
func CMIOSampleBufferSetSequenceNumber ¶
func CMIOSampleBufferSetSequenceNumber(allocator corefoundation.CFAllocatorRef, sbuf uintptr, sequenceNumber uint64)
CMIOSampleBufferSetSequenceNumber.
It panics if CMIOSampleBufferSetSequenceNumber is unavailable at run time; use TryCMIOSampleBufferSetSequenceNumber to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferSetSequenceNumber
func CMIOStreamClockConvertHostTimeToDeviceTime ¶
func CMIOStreamClockConvertHostTimeToDeviceTime(hostTime uint64, clock corefoundation.CFTypeRef) coremedia.CMTime
CMIOStreamClockConvertHostTimeToDeviceTime.
It panics if CMIOStreamClockConvertHostTimeToDeviceTime is unavailable at run time; use TryCMIOStreamClockConvertHostTimeToDeviceTime to get an error instead.
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.
It panics if CMIOStreamClockCreate is unavailable at run time; use TryCMIOStreamClockCreate to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamClockCreate(_:_:_:_:_:_:_:)
func CMIOStreamClockInvalidate ¶
func CMIOStreamClockInvalidate(clock corefoundation.CFTypeRef) int32
CMIOStreamClockInvalidate.
It panics if CMIOStreamClockInvalidate is unavailable at run time; use TryCMIOStreamClockInvalidate to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamClockInvalidate(_:)
func CMIOStreamClockPostTimingEvent ¶
func CMIOStreamClockPostTimingEvent(eventTime coremedia.CMTime, hostTime uint64, resynchronize bool, clock corefoundation.CFTypeRef) int32
CMIOStreamClockPostTimingEvent.
It panics if CMIOStreamClockPostTimingEvent is unavailable at run time; use TryCMIOStreamClockPostTimingEvent to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamClockPostTimingEvent(_:_:_:_:)
func CMIOStreamCopyBufferQueue ¶
func CMIOStreamCopyBufferQueue(streamID CMIOStreamID, queueAlteredProc CMIODeviceStreamQueueAlteredProc, queueAlteredRefCon unsafe.Pointer, queue *coremedia.CMSimpleQueueRef) int32
CMIOStreamCopyBufferQueue.
It panics if CMIOStreamCopyBufferQueue is unavailable at run time; use TryCMIOStreamCopyBufferQueue to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamCopyBufferQueue(_:_:_:_:)
func CMIOStreamDeckCueTo ¶
func CMIOStreamDeckCueTo(streamID CMIOStreamID, frameNumber uint64, playOnCue bool) int32
CMIOStreamDeckCueTo.
It panics if CMIOStreamDeckCueTo is unavailable at run time; use TryCMIOStreamDeckCueTo to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamDeckCueTo(_:_:_:)
func CMIOStreamDeckJog ¶
func CMIOStreamDeckJog(streamID CMIOStreamID, speed int32) int32
CMIOStreamDeckJog.
It panics if CMIOStreamDeckJog is unavailable at run time; use TryCMIOStreamDeckJog to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamDeckJog(_:_:)
func CMIOStreamDeckPlay ¶
func CMIOStreamDeckPlay(streamID CMIOStreamID) int32
CMIOStreamDeckPlay.
It panics if CMIOStreamDeckPlay is unavailable at run time; use TryCMIOStreamDeckPlay to get an error instead.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamDeckPlay(_:)
func CMIOStreamDeckStop ¶
func CMIOStreamDeckStop(streamID CMIOStreamID) int32
CMIOStreamDeckStop.
It panics if CMIOStreamDeckStop is unavailable at run time; use TryCMIOStreamDeckStop to get an error instead.
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.
func SymbolAddress ¶
SymbolAddress returns the address of name in CoreMediaIO, whether or not this package generated a binding for it.
What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.
The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.
func TryCMIODeviceProcessAVCCommand ¶
func TryCMIODeviceProcessAVCCommand(deviceID CMIODeviceID, ioAVCCommand *CMIODeviceAVCCommand) (int32, error)
TryCMIODeviceProcessAVCCommand is like CMIODeviceProcessAVCCommand but returns an error instead of panicking if CMIODeviceProcessAVCCommand is unavailable at run time.
func TryCMIODeviceProcessRS422Command ¶
func TryCMIODeviceProcessRS422Command(deviceID CMIODeviceID, ioRS422Command *CMIODeviceRS422Command) (int32, error)
TryCMIODeviceProcessRS422Command is like CMIODeviceProcessRS422Command but returns an error instead of panicking if CMIODeviceProcessRS422Command is unavailable at run time.
func TryCMIODeviceStartStream ¶
func TryCMIODeviceStartStream(deviceID CMIODeviceID, streamID CMIOStreamID) (int32, error)
TryCMIODeviceStartStream is like CMIODeviceStartStream but returns an error instead of panicking if CMIODeviceStartStream is unavailable at run time.
func TryCMIODeviceStopStream ¶
func TryCMIODeviceStopStream(deviceID CMIODeviceID, streamID CMIOStreamID) (int32, error)
TryCMIODeviceStopStream is like CMIODeviceStopStream but returns an error instead of panicking if CMIODeviceStopStream is unavailable at run time.
func TryCMIOObjectAddPropertyListener ¶
func TryCMIOObjectAddPropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, listener CMIOObjectPropertyListenerProc, clientData unsafe.Pointer) (int32, error)
TryCMIOObjectAddPropertyListener is like CMIOObjectAddPropertyListener but returns an error instead of panicking if CMIOObjectAddPropertyListener is unavailable at run time.
func TryCMIOObjectAddPropertyListenerBlock ¶
func TryCMIOObjectAddPropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, dispatchQueue dispatch.Queue, listener CMIOObjectPropertyListenerBlock) (int32, error)
TryCMIOObjectAddPropertyListenerBlock is like CMIOObjectAddPropertyListenerBlock but returns an error instead of panicking if CMIOObjectAddPropertyListenerBlock is unavailable at run time.
func TryCMIOObjectCreate ¶
func TryCMIOObjectCreate(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, classID CMIOClassID, objectID *CMIOObjectID) (int32, error)
TryCMIOObjectCreate is like CMIOObjectCreate but returns an error instead of panicking if CMIOObjectCreate is unavailable at run time.
func TryCMIOObjectGetPropertyData ¶
func TryCMIOObjectGetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, qualifierDataSize uint32, qualifierData unsafe.Pointer, dataSize uint32, dataUsed *uint32, data unsafe.Pointer) (int32, error)
TryCMIOObjectGetPropertyData is like CMIOObjectGetPropertyData but returns an error instead of panicking if CMIOObjectGetPropertyData is unavailable at run time.
func TryCMIOObjectGetPropertyDataSize ¶
func TryCMIOObjectGetPropertyDataSize(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, qualifierDataSize uint32, qualifierData unsafe.Pointer, dataSize *uint32) (int32, error)
TryCMIOObjectGetPropertyDataSize is like CMIOObjectGetPropertyDataSize but returns an error instead of panicking if CMIOObjectGetPropertyDataSize is unavailable at run time.
func TryCMIOObjectHasProperty ¶
func TryCMIOObjectHasProperty(objectID CMIOObjectID, address *CMIOObjectPropertyAddress) (bool, error)
TryCMIOObjectHasProperty is like CMIOObjectHasProperty but returns an error instead of panicking if CMIOObjectHasProperty is unavailable at run time.
func TryCMIOObjectIsPropertySettable ¶
func TryCMIOObjectIsPropertySettable(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, isSettable *bool) (int32, error)
TryCMIOObjectIsPropertySettable is like CMIOObjectIsPropertySettable but returns an error instead of panicking if CMIOObjectIsPropertySettable is unavailable at run time.
func TryCMIOObjectPropertiesChanged ¶
func TryCMIOObjectPropertiesChanged(owningPlugIn CMIOHardwarePlugInRef, objectID CMIOObjectID, numberAddresses uint32, addresses *CMIOObjectPropertyAddress) (int32, error)
TryCMIOObjectPropertiesChanged is like CMIOObjectPropertiesChanged but returns an error instead of panicking if CMIOObjectPropertiesChanged is unavailable at run time.
func TryCMIOObjectRemovePropertyListener ¶
func TryCMIOObjectRemovePropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, listener CMIOObjectPropertyListenerProc, clientData unsafe.Pointer) (int32, error)
TryCMIOObjectRemovePropertyListener is like CMIOObjectRemovePropertyListener but returns an error instead of panicking if CMIOObjectRemovePropertyListener is unavailable at run time.
func TryCMIOObjectRemovePropertyListenerBlock ¶
func TryCMIOObjectRemovePropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, dispatchQueue dispatch.Queue, listener CMIOObjectPropertyListenerBlock) (int32, error)
TryCMIOObjectRemovePropertyListenerBlock is like CMIOObjectRemovePropertyListenerBlock but returns an error instead of panicking if CMIOObjectRemovePropertyListenerBlock is unavailable at run time.
func TryCMIOObjectSetPropertyData ¶
func TryCMIOObjectSetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, qualifierDataSize uint32, qualifierData unsafe.Pointer, dataSize uint32, data unsafe.Pointer) (int32, error)
TryCMIOObjectSetPropertyData is like CMIOObjectSetPropertyData but returns an error instead of panicking if CMIOObjectSetPropertyData is unavailable at run time.
func TryCMIOObjectShow ¶
func TryCMIOObjectShow(objectID CMIOObjectID) error
TryCMIOObjectShow is like CMIOObjectShow but returns an error instead of panicking if CMIOObjectShow is unavailable at run time.
func TryCMIOObjectsPublishedAndDied ¶
func TryCMIOObjectsPublishedAndDied(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, numberPublishedCMIOObjects uint32, publishedCMIOObjects *CMIOObjectID, numberDeadCMIOObjects uint32, deadCMIOObjects *CMIOObjectID) (int32, error)
TryCMIOObjectsPublishedAndDied is like CMIOObjectsPublishedAndDied but returns an error instead of panicking if CMIOObjectsPublishedAndDied is unavailable at run time.
func TryCMIOSampleBufferCopyNonRequiredAttachments ¶
func TryCMIOSampleBufferCopyNonRequiredAttachments(sourceSBuf uintptr, destSBuf uintptr, attachmentMode uint32) (int32, error)
TryCMIOSampleBufferCopyNonRequiredAttachments is like CMIOSampleBufferCopyNonRequiredAttachments but returns an error instead of panicking if CMIOSampleBufferCopyNonRequiredAttachments is unavailable at run time.
func TryCMIOSampleBufferCopySampleAttachments ¶
TryCMIOSampleBufferCopySampleAttachments is like CMIOSampleBufferCopySampleAttachments but returns an error instead of panicking if CMIOSampleBufferCopySampleAttachments is unavailable at run time.
func TryCMIOSampleBufferCreate ¶
func TryCMIOSampleBufferCreate(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, error)
TryCMIOSampleBufferCreate is like CMIOSampleBufferCreate but returns an error instead of panicking if CMIOSampleBufferCreate is unavailable at run time.
func TryCMIOSampleBufferCreateForImageBuffer ¶
func TryCMIOSampleBufferCreateForImageBuffer(allocator corefoundation.CFAllocatorRef, imageBuffer corevideo.CVImageBufferRef, formatDescription uintptr, sampleTiming *coremedia.CMSampleTimingInfo, sequenceNumber uint64, discontinuityFlags uint32, sBufOut *coremedia.CMSampleBufferRef) (int32, error)
TryCMIOSampleBufferCreateForImageBuffer is like CMIOSampleBufferCreateForImageBuffer but returns an error instead of panicking if CMIOSampleBufferCreateForImageBuffer is unavailable at run time.
func TryCMIOSampleBufferCreateNoDataMarker ¶
func TryCMIOSampleBufferCreateNoDataMarker(allocator corefoundation.CFAllocatorRef, noDataEvent uint32, formatDescription uintptr, sequenceNumber uint64, discontinuityFlags uint32, sBufOut *coremedia.CMSampleBufferRef) (int32, error)
TryCMIOSampleBufferCreateNoDataMarker is like CMIOSampleBufferCreateNoDataMarker but returns an error instead of panicking if CMIOSampleBufferCreateNoDataMarker is unavailable at run time.
func TryCMIOSampleBufferGetDiscontinuityFlags ¶
TryCMIOSampleBufferGetDiscontinuityFlags is like CMIOSampleBufferGetDiscontinuityFlags but returns an error instead of panicking if CMIOSampleBufferGetDiscontinuityFlags is unavailable at run time.
func TryCMIOSampleBufferGetSequenceNumber ¶
TryCMIOSampleBufferGetSequenceNumber is like CMIOSampleBufferGetSequenceNumber but returns an error instead of panicking if CMIOSampleBufferGetSequenceNumber is unavailable at run time.
func TryCMIOSampleBufferSetDiscontinuityFlags ¶
func TryCMIOSampleBufferSetDiscontinuityFlags(allocator corefoundation.CFAllocatorRef, sbuf uintptr, discontinuityFlags uint32) error
TryCMIOSampleBufferSetDiscontinuityFlags is like CMIOSampleBufferSetDiscontinuityFlags but returns an error instead of panicking if CMIOSampleBufferSetDiscontinuityFlags is unavailable at run time.
func TryCMIOSampleBufferSetSequenceNumber ¶
func TryCMIOSampleBufferSetSequenceNumber(allocator corefoundation.CFAllocatorRef, sbuf uintptr, sequenceNumber uint64) error
TryCMIOSampleBufferSetSequenceNumber is like CMIOSampleBufferSetSequenceNumber but returns an error instead of panicking if CMIOSampleBufferSetSequenceNumber is unavailable at run time.
func TryCMIOStreamClockConvertHostTimeToDeviceTime ¶
func TryCMIOStreamClockConvertHostTimeToDeviceTime(hostTime uint64, clock corefoundation.CFTypeRef) (coremedia.CMTime, error)
TryCMIOStreamClockConvertHostTimeToDeviceTime is like CMIOStreamClockConvertHostTimeToDeviceTime but returns an error instead of panicking if CMIOStreamClockConvertHostTimeToDeviceTime is unavailable at run time.
func TryCMIOStreamClockCreate ¶
func TryCMIOStreamClockCreate(allocator corefoundation.CFAllocatorRef, clockName corefoundation.CFStringRef, sourceIdentifier unsafe.Pointer, getTimeCallMinimumInterval coremedia.CMTime, numberOfEventsForRateSmoothing uint32, numberOfAveragesForRateSmoothing uint32, clock *corefoundation.CFTypeRef) (int32, error)
TryCMIOStreamClockCreate is like CMIOStreamClockCreate but returns an error instead of panicking if CMIOStreamClockCreate is unavailable at run time.
func TryCMIOStreamClockInvalidate ¶
func TryCMIOStreamClockInvalidate(clock corefoundation.CFTypeRef) (int32, error)
TryCMIOStreamClockInvalidate is like CMIOStreamClockInvalidate but returns an error instead of panicking if CMIOStreamClockInvalidate is unavailable at run time.
func TryCMIOStreamClockPostTimingEvent ¶
func TryCMIOStreamClockPostTimingEvent(eventTime coremedia.CMTime, hostTime uint64, resynchronize bool, clock corefoundation.CFTypeRef) (int32, error)
TryCMIOStreamClockPostTimingEvent is like CMIOStreamClockPostTimingEvent but returns an error instead of panicking if CMIOStreamClockPostTimingEvent is unavailable at run time.
func TryCMIOStreamCopyBufferQueue ¶
func TryCMIOStreamCopyBufferQueue(streamID CMIOStreamID, queueAlteredProc CMIODeviceStreamQueueAlteredProc, queueAlteredRefCon unsafe.Pointer, queue *coremedia.CMSimpleQueueRef) (int32, error)
TryCMIOStreamCopyBufferQueue is like CMIOStreamCopyBufferQueue but returns an error instead of panicking if CMIOStreamCopyBufferQueue is unavailable at run time.
func TryCMIOStreamDeckCueTo ¶
func TryCMIOStreamDeckCueTo(streamID CMIOStreamID, frameNumber uint64, playOnCue bool) (int32, error)
TryCMIOStreamDeckCueTo is like CMIOStreamDeckCueTo but returns an error instead of panicking if CMIOStreamDeckCueTo is unavailable at run time.
func TryCMIOStreamDeckJog ¶
func TryCMIOStreamDeckJog(streamID CMIOStreamID, speed int32) (int32, error)
TryCMIOStreamDeckJog is like CMIOStreamDeckJog but returns an error instead of panicking if CMIOStreamDeckJog is unavailable at run time.
func TryCMIOStreamDeckPlay ¶
func TryCMIOStreamDeckPlay(streamID CMIOStreamID) (int32, error)
TryCMIOStreamDeckPlay is like CMIOStreamDeckPlay but returns an error instead of panicking if CMIOStreamDeckPlay is unavailable at run time.
func TryCMIOStreamDeckStop ¶
func TryCMIOStreamDeckStop(streamID CMIOStreamID) (int32, error)
TryCMIOStreamDeckStop is like CMIOStreamDeckStop but returns an error instead of panicking if CMIOStreamDeckStop is unavailable at run time.
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 {
// C: int (*)(void *, CFUUIDBytes, void **)
QueryInterface uintptr
// C: unsigned int (*)(void *)
AddRef uintptr
// C: unsigned int (*)(void *)
Release uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **)
Initialize uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int)
InitializeWithObjectID uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **)
Teardown uintptr
// C: void (*)(struct CMIOHardwarePlugInInterface **, unsigned int)
ObjectShow uintptr
// C: unsigned char (*)(struct CMIOHardwarePlugInInterface **, unsigned int, const struct CMIOObjectPropertyAddress *)
ObjectHasProperty uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int, const struct CMIOObjectPropertyAddress *, unsigned char *)
ObjectIsPropertySettable uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int, const struct CMIOObjectPropertyAddress *, unsigned int, const void *, unsigned int *)
ObjectGetPropertyDataSize uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int, const struct CMIOObjectPropertyAddress *, unsigned int, const void *, unsigned int, unsigned int *, void *)
ObjectGetPropertyData uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int, const struct CMIOObjectPropertyAddress *, unsigned int, const void *, unsigned int, const void *)
ObjectSetPropertyData uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int)
DeviceSuspend uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int)
DeviceResume uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int, unsigned int)
DeviceStartStream uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int, unsigned int)
DeviceStopStream uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int, struct CMIODeviceAVCCommand *)
DeviceProcessAVCCommand uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int, struct CMIODeviceRS422Command *)
DeviceProcessRS422Command uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int, void (*)(unsigned int, void *, void *), void *, struct opaqueCMSimpleQueue **)
StreamCopyBufferQueue uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int)
StreamDeckPlay uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int)
StreamDeckStop uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int, int)
StreamDeckJog uintptr
// C: int (*)(struct CMIOHardwarePlugInInterface **, unsigned int, double, unsigned char)
StreamDeckCueTo uintptr
// 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 KCMIOBlackLevelControlClassIDConstants ¶
type KCMIOBlackLevelControlClassIDConstants uint32
const ( KCMIOBacklightCompensationControlClassID KCMIOBlackLevelControlClassIDConstants = 'b'<<24 | 'k'<<16 | 'l'<<8 | 't' // 'bklt' KCMIOBlackLevelControlClassID KCMIOBlackLevelControlClassIDConstants = 'b'<<24 | 'k'<<16 | 'l'<<8 | 'v' // 'bklv' KCMIOBrightnessControlClassID KCMIOBlackLevelControlClassIDConstants = 'b'<<24 | 'r'<<16 | 'i'<<8 | 't' // 'brit' KCMIOContrastControlClassID KCMIOBlackLevelControlClassIDConstants = 'c'<<24 | 't'<<16 | 's'<<8 | 't' // 'ctst' KCMIOExposureControlClassID KCMIOBlackLevelControlClassIDConstants = 'x'<<24 | 'p'<<16 | 's'<<8 | 'r' // 'xpsr' KCMIOFocusControlClassID KCMIOBlackLevelControlClassIDConstants = 'f'<<24 | 'c'<<16 | 'u'<<8 | 's' // 'fcus' KCMIOGainControlClassID KCMIOBlackLevelControlClassIDConstants = 'g'<<24 | 'a'<<16 | 'i'<<8 | 'n' // 'gain' KCMIOGammaControlClassID KCMIOBlackLevelControlClassIDConstants = 'g'<<24 | 'm'<<16 | 'm'<<8 | 'a' // 'gmma' KCMIOHueControlClassID KCMIOBlackLevelControlClassIDConstants = 'h'<<24 | 'u'<<16 | 'e'<<8 | ' ' // 'hue ' KCMIOIrisControlClassID KCMIOBlackLevelControlClassIDConstants = 'i'<<24 | 'r'<<16 | 'i'<<8 | 's' // 'iris' KCMIONoiseReductionControlClassID KCMIOBlackLevelControlClassIDConstants = 's'<<24 | '2'<<16 | 'n'<<8 | 'r' // 's2nr' KCMIOOpticalFilterClassID KCMIOBlackLevelControlClassIDConstants = 'o'<<24 | 'p'<<16 | 'f'<<8 | 't' // 'opft' KCMIOPanControlClassID KCMIOBlackLevelControlClassIDConstants = 'p'<<24 | 'a'<<16 | 'n'<<8 | ' ' // 'pan ' KCMIOPanTiltAbsoluteControlClassID KCMIOBlackLevelControlClassIDConstants = 'p'<<24 | 't'<<16 | 'a'<<8 | 'b' // 'ptab' KCMIOPanTiltRelativeControlClassID KCMIOBlackLevelControlClassIDConstants = 'p'<<24 | 't'<<16 | 'r'<<8 | 'l' // 'ptrl' KCMIOPowerLineFrequencyControlClassID KCMIOBlackLevelControlClassIDConstants = 'p'<<24 | 'w'<<16 | 'f'<<8 | 'q' // 'pwfq' KCMIORollAbsoluteControlClassID KCMIOBlackLevelControlClassIDConstants = 'r'<<24 | 'o'<<16 | 'l'<<8 | 'a' // 'rola' KCMIOSaturationControlClassID KCMIOBlackLevelControlClassIDConstants = 's'<<24 | 'a'<<16 | 't'<<8 | 'u' // 'satu' KCMIOSharpnessControlClassID KCMIOBlackLevelControlClassIDConstants = 's'<<24 | 'h'<<16 | 'r'<<8 | 'p' // 'shrp' KCMIOShutterControlClassID KCMIOBlackLevelControlClassIDConstants = 's'<<24 | 'h'<<16 | 't'<<8 | 'r' // 'shtr' KCMIOTemperatureControlClassID KCMIOBlackLevelControlClassIDConstants = 't'<<24 | 'e'<<16 | 'm'<<8 | 'p' // 'temp' KCMIOTiltControlClassID KCMIOBlackLevelControlClassIDConstants = 't'<<24 | 'i'<<16 | 'l'<<8 | 't' // 'tilt' KCMIOWhiteBalanceControlClassID KCMIOBlackLevelControlClassIDConstants = 'w'<<24 | 'h'<<16 | 'b'<<8 | 'l' // 'whbl' KCMIOWhiteBalanceUControlClassID KCMIOBlackLevelControlClassIDConstants = 'w'<<24 | 'h'<<16 | 'b'<<8 | 'u' // 'whbu' KCMIOWhiteBalanceVControlClassID KCMIOBlackLevelControlClassIDConstants = 'w'<<24 | 'h'<<16 | 'b'<<8 | 'v' // 'whbv' KCMIOWhiteLevelControlClassID KCMIOBlackLevelControlClassIDConstants = 'w'<<24 | 'h'<<16 | 'l'<<8 | 'v' // 'whlv' KCMIOZoomControlClassID KCMIOBlackLevelControlClassIDConstants = 'z'<<24 | 'o'<<16 | 'o'<<8 | 'm' // 'zoom' KCMIOZoomRelativeControlClassID KCMIOBlackLevelControlClassIDConstants = 'z'<<24 | 'o'<<16 | 'm'<<8 | 'r' // 'zomr' )
func (KCMIOBlackLevelControlClassIDConstants) String ¶
func (e KCMIOBlackLevelControlClassIDConstants) 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 KCMIOControlClassIDConstants ¶
type KCMIOControlClassIDConstants uint32
const ( KCMIOBooleanControlClassID KCMIOControlClassIDConstants = 't'<<24 | 'o'<<16 | 'g'<<8 | 'l' // 'togl' KCMIOControlClassID KCMIOControlClassIDConstants = 'a'<<24 | 'c'<<16 | 't'<<8 | 'l' // 'actl' KCMIOFeatureControlClassID KCMIOControlClassIDConstants = 'f'<<24 | 't'<<16 | 'c'<<8 | 't' // 'ftct' KCMIOSelectorControlClassID KCMIOControlClassIDConstants = 's'<<24 | 'l'<<16 | 'c'<<8 | 't' // 'slct' )
func (KCMIOControlClassIDConstants) String ¶
func (e KCMIOControlClassIDConstants) 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 KCMIOHardwareNoErrorConstants ¶
type KCMIOHardwareNoErrorConstants uint32
const ( KCMIODevicePermissionsError KCMIOHardwareNoErrorConstants = '!'<<24 | 'h'<<16 | 'o'<<8 | 'g' // '!hog' KCMIODeviceUnsupportedFormatError KCMIOHardwareNoErrorConstants = '!'<<24 | 'd'<<16 | 'a'<<8 | 't' // '!dat' KCMIOHardwareBadDeviceError KCMIOHardwareNoErrorConstants = '!'<<24 | 'd'<<16 | 'e'<<8 | 'v' // '!dev' KCMIOHardwareBadObjectError KCMIOHardwareNoErrorConstants = '!'<<24 | 'o'<<16 | 'b'<<8 | 'j' // '!obj' KCMIOHardwareBadPropertySizeError KCMIOHardwareNoErrorConstants = '!'<<24 | 's'<<16 | 'i'<<8 | 'z' // '!siz' KCMIOHardwareBadStreamError KCMIOHardwareNoErrorConstants = '!'<<24 | 's'<<16 | 't'<<8 | 'r' // '!str' KCMIOHardwareIllegalOperationError KCMIOHardwareNoErrorConstants = 'n'<<24 | 'o'<<16 | 'p'<<8 | 'e' // 'nope' KCMIOHardwareNoError KCMIOHardwareNoErrorConstants = 0 KCMIOHardwareNotRunningError KCMIOHardwareNoErrorConstants = 's'<<24 | 't'<<16 | 'o'<<8 | 'p' // 'stop' KCMIOHardwareNotStoppedError KCMIOHardwareNoErrorConstants = 'r'<<24 | 'u'<<16 | 'n'<<8 | ' ' // 'run ' KCMIOHardwareSuspendedBySystemError KCMIOHardwareNoErrorConstants = 'd'<<24 | 'e'<<16 | 'n'<<8 | 'y' // 'deny' KCMIOHardwareUnknownPropertyError KCMIOHardwareNoErrorConstants = 'w'<<24 | 'h'<<16 | 'o'<<8 | '?' // 'who?' KCMIOHardwareUnspecifiedError KCMIOHardwareNoErrorConstants = 'w'<<24 | 'h'<<16 | 'a'<<8 | 't' // 'what' KCMIOHardwareUnsupportedOperationError KCMIOHardwareNoErrorConstants = 'u'<<24 | 'n'<<16 | 'o'<<8 | 'p' // 'unop' )
func (KCMIOHardwareNoErrorConstants) String ¶
func (e KCMIOHardwareNoErrorConstants) 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 KCMIOJackControlClassIDConstants ¶
type KCMIOJackControlClassIDConstants uint32
const ( KCMIODirectionControlClassID KCMIOJackControlClassIDConstants = 'd'<<24 | 'i'<<16 | 'r'<<8 | 'e' // 'dire' KCMIOJackControlClassID KCMIOJackControlClassIDConstants = 'j'<<24 | 'a'<<16 | 'c'<<8 | 'k' // 'jack' )
func (KCMIOJackControlClassIDConstants) String ¶
func (e KCMIOJackControlClassIDConstants) 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 KCMIOObjectPropertyClassConstants ¶
type KCMIOObjectPropertyClassConstants uint32
const ( KCMIOObjectPropertyClass KCMIOObjectPropertyClassConstants = 'c'<<24 | 'l'<<16 | 'a'<<8 | 's' // 'clas' KCMIOObjectPropertyCreator KCMIOObjectPropertyClassConstants = 'o'<<24 | 'p'<<16 | 'l'<<8 | 'g' // 'oplg' KCMIOObjectPropertyElementCategoryName KCMIOObjectPropertyClassConstants = 'l'<<24 | 'c'<<16 | 'c'<<8 | 'n' // 'lccn' KCMIOObjectPropertyElementName KCMIOObjectPropertyClassConstants = 'l'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'lchn' KCMIOObjectPropertyElementNumberName KCMIOObjectPropertyClassConstants = 'l'<<24 | 'c'<<16 | 'n'<<8 | 'n' // 'lcnn' KCMIOObjectPropertyListenerAdded KCMIOObjectPropertyClassConstants = 'l'<<24 | 'i'<<16 | 's'<<8 | 'a' // 'lisa' KCMIOObjectPropertyListenerRemoved KCMIOObjectPropertyClassConstants = 'l'<<24 | 'i'<<16 | 's'<<8 | 'r' // 'lisr' KCMIOObjectPropertyManufacturer KCMIOObjectPropertyClassConstants = 'l'<<24 | 'm'<<16 | 'a'<<8 | 'k' // 'lmak' KCMIOObjectPropertyName KCMIOObjectPropertyClassConstants = 'l'<<24 | 'n'<<16 | 'a'<<8 | 'm' // 'lnam' KCMIOObjectPropertyOwnedObjects KCMIOObjectPropertyClassConstants = 'o'<<24 | 'w'<<16 | 'n'<<8 | 'd' // 'ownd' KCMIOObjectPropertyOwner KCMIOObjectPropertyClassConstants = 's'<<24 | 't'<<16 | 'd'<<8 | 'v' // 'stdv' )
func (KCMIOObjectPropertyClassConstants) String ¶
func (e KCMIOObjectPropertyClassConstants) String() string
type KCMIOObjectPropertySelectorWildcardConstants ¶
type KCMIOObjectPropertySelectorWildcardConstants uint32
const ( KCMIOObjectPropertyElementWildcard KCMIOObjectPropertySelectorWildcardConstants = 0xffffffff KCMIOObjectPropertyScopeWildcard KCMIOObjectPropertySelectorWildcardConstants = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****' KCMIOObjectPropertySelectorWildcard KCMIOObjectPropertySelectorWildcardConstants = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****' )
func (KCMIOObjectPropertySelectorWildcardConstants) String ¶
func (e KCMIOObjectPropertySelectorWildcardConstants) 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 KCMIOSystemObjectClassIDConstants ¶
type KCMIOSystemObjectClassIDConstants uint32
const ( KCMIOObjectSystemObject KCMIOSystemObjectClassIDConstants = 1 KCMIOSystemObjectClassID KCMIOSystemObjectClassIDConstants = 'a'<<24 | 's'<<16 | 'y'<<8 | 's' // 'asys' )
func (KCMIOSystemObjectClassIDConstants) String ¶
func (e KCMIOSystemObjectClassIDConstants) String() string