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](<doc://com.apple.documentation/documentation/SystemExtensions>) 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.
- CMIOExtensionProvider: An object that manages device connections for a provider.
- CMIOExtensionProviderSource: A protocol for objects that act as provider sources.
- CMIOExtensionProviderProperties: An object that manages the properties of an extension provider.
Devices ¶
- CMIOExtensionDevice: An object that represents a physical or virtual device.
- CMIOExtensionDeviceSource: A protocol for objects that act as device sources.
- CMIOExtensionDeviceProperties: An object that defines the properties of a device.
Streams ¶
- CMIOExtensionStream: An object that represents a stream of media data.
- CMIOExtensionStreamSource: A protocol for objects that act as stream sources.
- CMIOExtensionStreamProperties: An object that describes the properties of an extension stream.
- CMIOExtensionClient: An object that represents a client of the extension.
Properties ¶
- CMIOExtensionProperty: A structure that defines the properties that providers, devices, and streams support.
- CMIOExtensionPropertyState: An object that describes the state of a property.
- CMIOExtensionPropertyAttributes: An object that describes the attributes of a property.
- CMIOExtensionInfoDictionaryKey: A key that specifies the extension information dictionary.
- CMIOExtensionMachServiceNameKey: A key that specifies the mach service name.
DAL Plug-Ins ¶
- Device Abstraction Layer (DAL) Plug-Ins: API reference for legacy DAL plug-ins.
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- Variables
- func CMIODeviceProcessAVCCommand(deviceID CMIODeviceID, ioAVCCommand *CMIODeviceAVCCommand) int32
- func CMIODeviceProcessRS422Command(deviceID CMIODeviceID, ioRS422Command *CMIODeviceRS422Command) int32
- func CMIODeviceStartStream(deviceID CMIODeviceID, streamID CMIOStreamID) int32
- func CMIODeviceStopStream(deviceID CMIODeviceID, streamID CMIOStreamID) int32
- func CMIOObjectAddPropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectAddPropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectCreate(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, ...) int32deprecated
- func CMIOObjectGetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectGetPropertyDataSize(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectHasProperty(objectID CMIOObjectID, address *CMIOObjectPropertyAddress) bool
- func CMIOObjectIsPropertySettable(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, isSettable *bool) int32
- func CMIOObjectPropertiesChanged(owningPlugIn CMIOHardwarePlugInRef, objectID CMIOObjectID, ...) int32deprecated
- func CMIOObjectRemovePropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectRemovePropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectSetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, ...) int32
- func CMIOObjectShow(objectID CMIOObjectID)
- func CMIOObjectsPublishedAndDied(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, ...) int32deprecated
- func CMIOSampleBufferCopyNonRequiredAttachments(sourceSBuf uintptr, destSBuf uintptr, ...) int32
- func CMIOSampleBufferCopySampleAttachments(sourceSBuf uintptr, destSBuf uintptr) int32
- func CMIOSampleBufferCreate(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, ...) 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
- type CMIOClassID
- type CMIOControlID
- type CMIODeviceAVCCommand
- type CMIODeviceGetSMPTETimeProc
- type CMIODeviceID
- type CMIODevicePropertyID
- type CMIODeviceRS422Command
- 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
- type KCMIO
- type KCMIOAVCDeviceType
- type KCMIOBooleanControlProperty
- type KCMIOControlProperty
- type KCMIOData
- type KCMIODeckShuttle
- type KCMIODeckState
- type KCMIODeckStatus
- type KCMIODevice
- type KCMIODeviceAVCSignal
- type KCMIODeviceProperty
- type KCMIODevicePropertyLocation
- type KCMIOExposureControlProperty
- type KCMIOFeatureControlProperty
- type KCMIOHardwareProperty
- type KCMIOObject
- type KCMIOObjectProperty
- type KCMIOPlugInClassI
- type KCMIOPlugInProperty
- type KCMIOSampleBuffer
- type KCMIOSampleBufferNoDataEvent
- type KCMIOSelectorControlProperty
- type KCMIOStream
- type KCMIOStreamProperty
Constants ¶
This section is empty.
Variables ¶
var ( // CMIOExtensionInfoDictionaryKey is a key that specifies the extension information dictionary. // // See: https://developer.apple.com/documentation/CoreMediaIO/CMIOExtensionInfoDictionaryKey CMIOExtensionInfoDictionaryKey string // CMIOExtensionMachServiceNameKey is a key that specifies the mach service name. // // See: https://developer.apple.com/documentation/CoreMediaIO/CMIOExtensionMachServiceNameKey CMIOExtensionMachServiceNameKey string )
var ( // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOBlockBufferAttachmentKey_CVPixelBufferReference KCMIOBlockBufferAttachmentKey_CVPixelBufferReference string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_CAAudioTimeStamp KCMIOSampleBufferAttachmentKey_CAAudioTimeStamp string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_ClientSequenceID KCMIOSampleBufferAttachmentKey_ClientSequenceID string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_ClosedCaptionSampleBuffer KCMIOSampleBufferAttachmentKey_ClosedCaptionSampleBuffer string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_DiscontinuityFlags KCMIOSampleBufferAttachmentKey_DiscontinuityFlags string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_HDV1_PackData KCMIOSampleBufferAttachmentKey_HDV1_PackData string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_HDV2_VAUX KCMIOSampleBufferAttachmentKey_HDV2_VAUX string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_HostTime KCMIOSampleBufferAttachmentKey_HostTime string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_MouseAndKeyboardModifiers KCMIOSampleBufferAttachmentKey_MouseAndKeyboardModifiers string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_MuxedSourcePresentationTimeStamp KCMIOSampleBufferAttachmentKey_MuxedSourcePresentationTimeStamp string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_NativeSMPTEFrameCount KCMIOSampleBufferAttachmentKey_NativeSMPTEFrameCount string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_NoDataMarker KCMIOSampleBufferAttachmentKey_NoDataMarker string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_NumberOfVideoFramesInBuffer KCMIOSampleBufferAttachmentKey_NumberOfVideoFramesInBuffer string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_NumberOfVideoFramesInGOP KCMIOSampleBufferAttachmentKey_NumberOfVideoFramesInGOP string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_PixelBufferOverlaidByStaticImage KCMIOSampleBufferAttachmentKey_PixelBufferOverlaidByStaticImage string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_PulldownCadenceInfo KCMIOSampleBufferAttachmentKey_PulldownCadenceInfo string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_RepeatedBufferContents KCMIOSampleBufferAttachmentKey_RepeatedBufferContents string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_SMPTETime KCMIOSampleBufferAttachmentKey_SMPTETime string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_SequenceNumber KCMIOSampleBufferAttachmentKey_SequenceNumber string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachmentKey_SourceAudioFormatDescription KCMIOSampleBufferAttachmentKey_SourceAudioFormatDescription string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorFrameRect KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorFrameRect string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorIsDrawnInFramebuffer KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorIsDrawnInFramebuffer string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorIsVisible KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorIsVisible string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorPositionX KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorPositionX string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorPositionY KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorPositionY string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorReference KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorReference string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorScale KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorScale string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorSeed KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_CursorSeed string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_KeyboardModifiers KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_KeyboardModifiers string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_KeyboardModifiersEvent KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_KeyboardModifiersEvent string // See: https://developer.apple.com/documentation/CoreMediaIO/kCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_MouseButtonState KCMIOSampleBufferAttachment_MouseAndKeyboardModifiersKey_MouseButtonState string )
var CMIOExtensionPropertys struct { // DeviceCanBeDefaultInputDevice: A property key for a Boolean value that indicates whether the device can be a default input device. DeviceCanBeDefaultInputDevice CMIOExtensionProperty // DeviceCanBeDefaultOutputDevice: A property key for a Boolean value that indicates whether the device can be a default output device. DeviceCanBeDefaultOutputDevice CMIOExtensionProperty // DeviceIsSuspended: A property key for a Boolean value that indicates whether the device is in a suspended state. DeviceIsSuspended CMIOExtensionProperty DeviceLatency CMIOExtensionProperty // DeviceLinkedCoreAudioDeviceUID: A property key for the UID of the linked Core Audio device. DeviceLinkedCoreAudioDeviceUID CMIOExtensionProperty // DeviceModel: A property key for the device model. DeviceModel CMIOExtensionProperty // DeviceTransportType: A property key for the device transport type. DeviceTransportType CMIOExtensionProperty // ProviderManufacturer: A property key for the provider manufacturer. ProviderManufacturer CMIOExtensionProperty // ProviderName: A property key for the provider name. ProviderName CMIOExtensionProperty // StreamActiveFormatIndex: A property key for the index of the active stream format. StreamActiveFormatIndex CMIOExtensionProperty // StreamFrameDuration: A property key for the frame duration. StreamFrameDuration CMIOExtensionProperty StreamLatency CMIOExtensionProperty // StreamMaxFrameDuration: A property key for the maximum frame duration. StreamMaxFrameDuration CMIOExtensionProperty // StreamSinkBufferQueueSize: A property key for the sink buffer queue size. StreamSinkBufferQueueSize CMIOExtensionProperty // StreamSinkBufferUnderrunCount: A property key for the buffer underrun count. StreamSinkBufferUnderrunCount CMIOExtensionProperty // StreamSinkBuffersRequiredForStartup: A property key for the number of buffers required for startup. StreamSinkBuffersRequiredForStartup CMIOExtensionProperty // StreamSinkEndOfData: A property key for a Boolean value that indicates whether the stream has more data. StreamSinkEndOfData CMIOExtensionProperty }
CMIOExtensionPropertys provides typed accessors for CMIOExtensionProperty constants.
Functions ¶
func CMIODeviceProcessAVCCommand ¶
func CMIODeviceProcessAVCCommand(deviceID CMIODeviceID, ioAVCCommand *CMIODeviceAVCCommand) int32
CMIODeviceProcessAVCCommand.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceProcessAVCCommand(_:_:)
func CMIODeviceProcessRS422Command ¶
func CMIODeviceProcessRS422Command(deviceID CMIODeviceID, ioRS422Command *CMIODeviceRS422Command) int32
CMIODeviceProcessRS422Command.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceProcessRS422Command(_:_:)
func CMIODeviceStartStream ¶
func CMIODeviceStartStream(deviceID CMIODeviceID, streamID CMIOStreamID) int32
CMIODeviceStartStream.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceStartStream(_:_:)
func CMIODeviceStopStream ¶
func CMIODeviceStopStream(deviceID CMIODeviceID, streamID CMIOStreamID) int32
CMIODeviceStopStream.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceStopStream(_:_:)
func CMIOObjectAddPropertyListener ¶
func CMIOObjectAddPropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, listener CMIOObjectPropertyListenerProc, clientData unsafe.Pointer) int32
CMIOObjectAddPropertyListener.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectAddPropertyListener(_:_:_:_:)
func CMIOObjectAddPropertyListenerBlock ¶
func CMIOObjectAddPropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, dispatchQueue dispatch.Queue, listener CMIOObjectPropertyListenerBlock) int32
CMIOObjectAddPropertyListenerBlock.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectAddPropertyListenerBlock(_:_:_:_:)
func CMIOObjectCreate
deprecated
func CMIOObjectCreate(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, classID CMIOClassID, objectID *CMIOObjectID) int32
CMIOObjectCreate.
Deprecated: Deprecated since macOS 12.3.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectCreate
func CMIOObjectGetPropertyData ¶
func CMIOObjectGetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, qualifierDataSize uint32, qualifierData unsafe.Pointer, dataSize uint32, dataUsed *uint32, data unsafe.Pointer) int32
CMIOObjectGetPropertyData.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectGetPropertyData(_:_:_:_:_:_:_:)
func CMIOObjectGetPropertyDataSize ¶
func CMIOObjectGetPropertyDataSize(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, qualifierDataSize uint32, qualifierData unsafe.Pointer, dataSize *uint32) int32
CMIOObjectGetPropertyDataSize.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectGetPropertyDataSize(_:_:_:_:_:)
func CMIOObjectHasProperty ¶
func CMIOObjectHasProperty(objectID CMIOObjectID, address *CMIOObjectPropertyAddress) bool
CMIOObjectHasProperty.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectHasProperty(_:_:)
func CMIOObjectIsPropertySettable ¶
func CMIOObjectIsPropertySettable(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, isSettable *bool) int32
CMIOObjectIsPropertySettable.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectIsPropertySettable(_:_:_:)
func CMIOObjectPropertiesChanged
deprecated
func CMIOObjectPropertiesChanged(owningPlugIn CMIOHardwarePlugInRef, objectID CMIOObjectID, numberAddresses uint32, addresses CMIOObjectPropertyAddress) int32
CMIOObjectPropertiesChanged.
Deprecated: Deprecated since macOS 12.3.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectPropertiesChanged
func CMIOObjectRemovePropertyListener ¶
func CMIOObjectRemovePropertyListener(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, listener CMIOObjectPropertyListenerProc, clientData unsafe.Pointer) int32
CMIOObjectRemovePropertyListener.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectRemovePropertyListener(_:_:_:_:)
func CMIOObjectRemovePropertyListenerBlock ¶
func CMIOObjectRemovePropertyListenerBlock(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, dispatchQueue dispatch.Queue, listener CMIOObjectPropertyListenerBlock) int32
CMIOObjectRemovePropertyListenerBlock.
func CMIOObjectSetPropertyData ¶
func CMIOObjectSetPropertyData(objectID CMIOObjectID, address *CMIOObjectPropertyAddress, qualifierDataSize uint32, qualifierData unsafe.Pointer, dataSize uint32, data unsafe.Pointer) int32
CMIOObjectSetPropertyData.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectSetPropertyData(_:_:_:_:_:_:)
func CMIOObjectShow ¶
func CMIOObjectShow(objectID CMIOObjectID)
CMIOObjectShow.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectShow(_:)
func CMIOObjectsPublishedAndDied
deprecated
func CMIOObjectsPublishedAndDied(owningPlugIn CMIOHardwarePlugInRef, owningObjectID CMIOObjectID, numberPublishedCMIOObjects uint32, publishedCMIOObjects CMIOObjectID, numberDeadCMIOObjects uint32, deadCMIOObjects CMIOObjectID) int32
CMIOObjectsPublishedAndDied.
Deprecated: Deprecated since macOS 12.3.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOObjectsPublishedAndDied
func CMIOSampleBufferCopyNonRequiredAttachments ¶
func CMIOSampleBufferCopyNonRequiredAttachments(sourceSBuf uintptr, destSBuf uintptr, attachmentMode coremedia.CMAttachmentMode) int32
CMIOSampleBufferCopyNonRequiredAttachments.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferCopyNonRequiredAttachments
func CMIOSampleBufferCopySampleAttachments ¶
CMIOSampleBufferCopySampleAttachments.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferCopySampleAttachments
func CMIOSampleBufferCreate ¶
func CMIOSampleBufferCreate(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, formatDescription uintptr, numSamples uint32, numSampleTimingEntries uint32, sampleTimingArray *coremedia.CMSampleTimingInfo, numSampleSizeEntries uint32, sampleSizeArray *uintptr, sequenceNumber uint64, discontinuityFlags uint32, sBufOut *uintptr) int32
CMIOSampleBufferCreate.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferCreate
func CMIOSampleBufferCreateForImageBuffer ¶
func CMIOSampleBufferCreateForImageBuffer(allocator corefoundation.CFAllocatorRef, imageBuffer corevideo.CVImageBufferRef, formatDescription uintptr, sampleTiming *coremedia.CMSampleTimingInfo, sequenceNumber uint64, discontinuityFlags uint32, sBufOut *uintptr) int32
CMIOSampleBufferCreateForImageBuffer.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferCreateForImageBuffer
func CMIOSampleBufferCreateNoDataMarker ¶
func CMIOSampleBufferCreateNoDataMarker(allocator corefoundation.CFAllocatorRef, noDataEvent uint32, formatDescription uintptr, sequenceNumber uint64, discontinuityFlags uint32, sBufOut *uintptr) int32
CMIOSampleBufferCreateNoDataMarker.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferCreateNoDataMarker
func CMIOSampleBufferGetDiscontinuityFlags ¶
CMIOSampleBufferGetDiscontinuityFlags.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferGetDiscontinuityFlags
func CMIOSampleBufferGetSequenceNumber ¶
CMIOSampleBufferGetSequenceNumber.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferGetSequenceNumber
func CMIOSampleBufferSetDiscontinuityFlags ¶
func CMIOSampleBufferSetDiscontinuityFlags(allocator corefoundation.CFAllocatorRef, sbuf uintptr, discontinuityFlags uint32)
CMIOSampleBufferSetDiscontinuityFlags.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferSetDiscontinuityFlags
func CMIOSampleBufferSetSequenceNumber ¶
func CMIOSampleBufferSetSequenceNumber(allocator corefoundation.CFAllocatorRef, sbuf uintptr, sequenceNumber uint64)
CMIOSampleBufferSetSequenceNumber.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOSampleBufferSetSequenceNumber
func CMIOStreamClockConvertHostTimeToDeviceTime ¶
func CMIOStreamClockConvertHostTimeToDeviceTime(hostTime uint64, clock corefoundation.CFTypeRef) coremedia.CMTime
CMIOStreamClockConvertHostTimeToDeviceTime.
func CMIOStreamClockCreate ¶
func CMIOStreamClockCreate(allocator corefoundation.CFAllocatorRef, clockName corefoundation.CFStringRef, sourceIdentifier unsafe.Pointer, getTimeCallMinimumInterval coremedia.CMTime, numberOfEventsForRateSmoothing uint32, numberOfAveragesForRateSmoothing uint32, clock *corefoundation.CFTypeRef) int32
CMIOStreamClockCreate.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamClockCreate(_:_:_:_:_:_:_:)
func CMIOStreamClockInvalidate ¶
func CMIOStreamClockInvalidate(clock corefoundation.CFTypeRef) int32
CMIOStreamClockInvalidate.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamClockInvalidate(_:)
func CMIOStreamClockPostTimingEvent ¶
func CMIOStreamClockPostTimingEvent(eventTime coremedia.CMTime, hostTime uint64, resynchronize bool, clock corefoundation.CFTypeRef) int32
CMIOStreamClockPostTimingEvent.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamClockPostTimingEvent(_:_:_:_:)
func CMIOStreamCopyBufferQueue ¶
func CMIOStreamCopyBufferQueue(streamID CMIOStreamID, queueAlteredProc CMIODeviceStreamQueueAlteredProc, queueAlteredRefCon unsafe.Pointer, queue *coremedia.CMSimpleQueueRef) int32
CMIOStreamCopyBufferQueue.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamCopyBufferQueue(_:_:_:_:)
func CMIOStreamDeckCueTo ¶
func CMIOStreamDeckCueTo(streamID CMIOStreamID, frameNumber uint64, playOnCue bool) int32
CMIOStreamDeckCueTo.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamDeckCueTo(_:_:_:)
func CMIOStreamDeckJog ¶
func CMIOStreamDeckJog(streamID CMIOStreamID, speed int32) int32
CMIOStreamDeckJog.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamDeckJog(_:_:)
func CMIOStreamDeckPlay ¶
func CMIOStreamDeckPlay(streamID CMIOStreamID) int32
CMIOStreamDeckPlay.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamDeckPlay(_:)
func CMIOStreamDeckStop ¶
func CMIOStreamDeckStop(streamID CMIOStreamID) int32
CMIOStreamDeckStop.
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamDeckStop(_:)
Types ¶
type CMIOClassID ¶
type CMIOClassID = uint32
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOClassID
type CMIOControlID ¶
type CMIOControlID = string
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOControlID
type CMIODeviceAVCCommand ¶
type CMIODeviceAVCCommand struct {
MCommand *uint8
MCommandLength uint32
MResponse *uint8
MResponseLength uint32
MResponseUsed uint32
}
CMIODeviceAVCCommand
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceAVCCommand
type CMIODeviceGetSMPTETimeProc ¶
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceGetSMPTETimeProc
type CMIODeviceID ¶
type CMIODeviceID = string
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceID
type CMIODevicePropertyID ¶
type CMIODevicePropertyID = string
See: https://developer.apple.com/documentation/CoreMediaIO/CMIODevicePropertyID
type CMIODeviceRS422Command ¶
type CMIODeviceRS422Command struct {
MCommand *uint8
MCommandLength uint32
MResponse *uint8
MResponseLength uint32
MResponseUsed uint32
}
CMIODeviceRS422Command
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceRS422Command
type CMIODeviceSMPTETimeCallback ¶
type CMIODeviceSMPTETimeCallback struct {
MGetSMPTETimeProc CMIODeviceGetSMPTETimeProc
MRefCon unsafe.Pointer
}
CMIODeviceSMPTETimeCallback
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMediaIO/CMIODeviceSMPTETimeCallback
type CMIODeviceStreamConfiguration ¶
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 {
AddRef func(unsafe.Pointer) uint
DeviceProcessAVCCommand func(uintptr, uint, uintptr) int
DeviceProcessRS422Command func(uintptr, uint, uintptr) int
DeviceResume func(uintptr, uint) int
DeviceStartStream func(uintptr, uint, uint) int
DeviceStopStream func(uintptr, uint, uint) int
DeviceSuspend func(uintptr, uint) int
Initialize func(uintptr) int
InitializeWithObjectID func(uintptr, uint) int
ObjectGetPropertyData func(uintptr, uint, uintptr, uint, unsafe.Pointer, uint, *uint, unsafe.Pointer) int
ObjectGetPropertyDataSize func(uintptr, uint, uintptr, uint, unsafe.Pointer, *uint) int
ObjectHasProperty func(uintptr, uint, uintptr) uint8
ObjectIsPropertySettable func(uintptr, uint, uintptr, *byte) int
ObjectSetPropertyData func(uintptr, uint, uintptr, uint, unsafe.Pointer, uint, unsafe.Pointer) int
ObjectShow func(uintptr, uint)
QueryInterface func(unsafe.Pointer, corefoundation.CFUUIDBytes, unsafe.Pointer) int
Release func(unsafe.Pointer) uint
StreamCopyBufferQueue func(uintptr, uint, func(uint, unsafe.Pointer, unsafe.Pointer), unsafe.Pointer, uintptr) int
StreamDeckCueTo func(uintptr, uint, float64, uint8) int
StreamDeckJog func(uintptr, uint, int) int
StreamDeckPlay func(uintptr, uint) int
StreamDeckStop func(uintptr, uint) int
Teardown func(uintptr) int
}
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 = string
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 = string
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamID
type CMIOStreamScheduledOutputNotificationProc ¶
See: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamScheduledOutputNotificationProc
type CMIOStreamScheduledOutputNotificationProcAndRefCon ¶
type CMIOStreamScheduledOutputNotificationProcAndRefCon struct {
ScheduledOutputNotificationProc CMIOStreamScheduledOutputNotificationProc
ScheduledOutputNotificationRefCon unsafe.Pointer
}
CMIOStreamScheduledOutputNotificationProcAndRefCon
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMediaIO/CMIOStreamScheduledOutputNotificationProcAndRefCon
type KCMIO ¶
type KCMIO uint
const ( KCMIOBacklightCompensationControlClassID KCMIO = 'b'<<24 | 'k'<<16 | 'l'<<8 | 't' // 'bklt' KCMIOBlackLevelControlClassID KCMIO = 'b'<<24 | 'k'<<16 | 'l'<<8 | 'v' // 'bklv' KCMIOBooleanControlClassID KCMIO = 't'<<24 | 'o'<<16 | 'g'<<8 | 'l' // 'togl' KCMIOBrightnessControlClassID KCMIO = 'b'<<24 | 'r'<<16 | 'i'<<8 | 't' // 'brit' KCMIOContrastControlClassID KCMIO = 'c'<<24 | 't'<<16 | 's'<<8 | 't' // 'ctst' KCMIOControlClassID KCMIO = 'a'<<24 | 'c'<<16 | 't'<<8 | 'l' // 'actl' KCMIODevicePermissionsError KCMIO = '!'<<24 | 'h'<<16 | 'o'<<8 | 'g' // '!hog' KCMIODeviceUnsupportedFormatError KCMIO = '!'<<24 | 'd'<<16 | 'a'<<8 | 't' // '!dat' KCMIODirectionControlClassID KCMIO = 'd'<<24 | 'i'<<16 | 'r'<<8 | 'e' // 'dire' KCMIOExposureControlClassID KCMIO = 'x'<<24 | 'p'<<16 | 's'<<8 | 'r' // 'xpsr' KCMIOFeatureControlClassID KCMIO = 'f'<<24 | 't'<<16 | 'c'<<8 | 't' // 'ftct' KCMIOFocusControlClassID KCMIO = 'f'<<24 | 'c'<<16 | 'u'<<8 | 's' // 'fcus' KCMIOGainControlClassID KCMIO = 'g'<<24 | 'a'<<16 | 'i'<<8 | 'n' // 'gain' KCMIOGammaControlClassID KCMIO = 'g'<<24 | 'm'<<16 | 'm'<<8 | 'a' // 'gmma' KCMIOHardwareBadDeviceError KCMIO = '!'<<24 | 'd'<<16 | 'e'<<8 | 'v' // '!dev' KCMIOHardwareBadObjectError KCMIO = '!'<<24 | 'o'<<16 | 'b'<<8 | 'j' // '!obj' KCMIOHardwareBadPropertySizeError KCMIO = '!'<<24 | 's'<<16 | 'i'<<8 | 'z' // '!siz' KCMIOHardwareBadStreamError KCMIO = '!'<<24 | 's'<<16 | 't'<<8 | 'r' // '!str' KCMIOHardwareIllegalOperationError KCMIO = 'n'<<24 | 'o'<<16 | 'p'<<8 | 'e' // 'nope' KCMIOHardwareNoError KCMIO = 0 KCMIOHardwareNotRunningError KCMIO = 's'<<24 | 't'<<16 | 'o'<<8 | 'p' // 'stop' KCMIOHardwareNotStoppedError KCMIO = 'r'<<24 | 'u'<<16 | 'n'<<8 | ' ' // 'run ' KCMIOHardwareSuspendedBySystemError KCMIO = 'd'<<24 | 'e'<<16 | 'n'<<8 | 'y' // 'deny' KCMIOHardwareUnknownPropertyError KCMIO = 'w'<<24 | 'h'<<16 | 'o'<<8 | '?' // 'who?' KCMIOHardwareUnspecifiedError KCMIO = 'w'<<24 | 'h'<<16 | 'a'<<8 | 't' // 'what' KCMIOHardwareUnsupportedOperationError KCMIO = 'u'<<24 | 'n'<<16 | 'o'<<8 | 'p' // 'unop' KCMIOHueControlClassID KCMIO = 'h'<<24 | 'u'<<16 | 'e'<<8 | ' ' // 'hue ' KCMIOIrisControlClassID KCMIO = 'i'<<24 | 'r'<<16 | 'i'<<8 | 's' // 'iris' KCMIOJackControlClassID KCMIO = 'j'<<24 | 'a'<<16 | 'c'<<8 | 'k' // 'jack' KCMIONoiseReductionControlClassID KCMIO = 's'<<24 | '2'<<16 | 'n'<<8 | 'r' // 's2nr' KCMIOObjectSystemObject KCMIO = 0 KCMIOOpticalFilterClassID KCMIO = 'o'<<24 | 'p'<<16 | 'f'<<8 | 't' // 'opft' KCMIOPanControlClassID KCMIO = 'p'<<24 | 'a'<<16 | 'n'<<8 | ' ' // 'pan ' KCMIOPanTiltAbsoluteControlClassID KCMIO = 'p'<<24 | 't'<<16 | 'a'<<8 | 'b' // 'ptab' KCMIOPanTiltRelativeControlClassID KCMIO = 'p'<<24 | 't'<<16 | 'r'<<8 | 'l' // 'ptrl' KCMIOPowerLineFrequencyControlClassID KCMIO = 'p'<<24 | 'w'<<16 | 'f'<<8 | 'q' // 'pwfq' KCMIORollAbsoluteControlClassID KCMIO = 'r'<<24 | 'o'<<16 | 'l'<<8 | 'a' // 'rola' KCMIOSaturationControlClassID KCMIO = 's'<<24 | 'a'<<16 | 't'<<8 | 'u' // 'satu' KCMIOSelectorControlClassID KCMIO = 's'<<24 | 'l'<<16 | 'c'<<8 | 't' // 'slct' KCMIOSharpnessControlClassID KCMIO = 's'<<24 | 'h'<<16 | 'r'<<8 | 'p' // 'shrp' KCMIOShutterControlClassID KCMIO = 's'<<24 | 'h'<<16 | 't'<<8 | 'r' // 'shtr' KCMIOSystemObjectClassID KCMIO = 'a'<<24 | 's'<<16 | 'y'<<8 | 's' // 'asys' KCMIOTemperatureControlClassID KCMIO = 't'<<24 | 'e'<<16 | 'm'<<8 | 'p' // 'temp' KCMIOTiltControlClassID KCMIO = 't'<<24 | 'i'<<16 | 'l'<<8 | 't' // 'tilt' KCMIOWhiteBalanceControlClassID KCMIO = 'w'<<24 | 'h'<<16 | 'b'<<8 | 'l' // 'whbl' KCMIOWhiteBalanceUControlClassID KCMIO = 'w'<<24 | 'h'<<16 | 'b'<<8 | 'u' // 'whbu' KCMIOWhiteBalanceVControlClassID KCMIO = 'w'<<24 | 'h'<<16 | 'b'<<8 | 'v' // 'whbv' KCMIOWhiteLevelControlClassID KCMIO = 'w'<<24 | 'h'<<16 | 'l'<<8 | 'v' // 'whlv' KCMIOZoomControlClassID KCMIO = 'z'<<24 | 'o'<<16 | 'o'<<8 | 'm' // 'zoom' KCMIOZoomRelativeControlClassID KCMIO = 'z'<<24 | 'o'<<16 | 'm'<<8 | 'r' // 'zomr' )
type KCMIOAVCDeviceType ¶
type KCMIOAVCDeviceType uint
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 KCMIOBooleanControlProperty ¶ added in v0.5.1
type KCMIOBooleanControlProperty uint
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 KCMIOControlProperty ¶
type KCMIOControlProperty uint
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 uint
const ( KCMIODeckShuttlePause KCMIODeckShuttle = 0 KCMIODeckShuttlePlay1x KCMIODeckShuttle = 0 KCMIODeckShuttlePlayFast KCMIODeckShuttle = 0 KCMIODeckShuttlePlayFaster KCMIODeckShuttle = 0 KCMIODeckShuttlePlayFastest KCMIODeckShuttle = 0 KCMIODeckShuttlePlayHighSpeed KCMIODeckShuttle = 0 KCMIODeckShuttlePlayNextFrame KCMIODeckShuttle = 0 KCMIODeckShuttlePlayPreviousFrame KCMIODeckShuttle = 0 KCMIODeckShuttlePlaySlow1 KCMIODeckShuttle = 0 KCMIODeckShuttlePlaySlow2 KCMIODeckShuttle = 0 KCMIODeckShuttlePlaySlow3 KCMIODeckShuttle = 0 KCMIODeckShuttlePlaySlowest KCMIODeckShuttle = 0 KCMIODeckShuttleReverse1x KCMIODeckShuttle = 0 KCMIODeckShuttleReverseFast KCMIODeckShuttle = 0 KCMIODeckShuttleReverseFaster KCMIODeckShuttle = 0 KCMIODeckShuttleReverseFastest KCMIODeckShuttle = 0 KCMIODeckShuttleReverseHighSpeed KCMIODeckShuttle = 0 KCMIODeckShuttleReverseSlow1 KCMIODeckShuttle = 0 KCMIODeckShuttleReverseSlow2 KCMIODeckShuttle = 0 KCMIODeckShuttleReverseSlow3 KCMIODeckShuttle = 0 KCMIODeckShuttleReverseSlowest KCMIODeckShuttle = 0 )
func (KCMIODeckShuttle) String ¶
func (e KCMIODeckShuttle) String() string
type KCMIODeckState ¶
type KCMIODeckState uint
const ( KCMIODeckStateFastForward KCMIODeckState = 0 KCMIODeckStateFastRewind KCMIODeckState = 0 KCMIODeckStatePause KCMIODeckState = 0 KCMIODeckStatePlay KCMIODeckState = 0 KCMIODeckStatePlayReverse KCMIODeckState = 0 KCMIODeckStatePlaySlow KCMIODeckState = 0 KCMIODeckStateReverseSlow KCMIODeckState = 0 KCMIODeckStateStop KCMIODeckState = 0 )
func (KCMIODeckState) String ¶
func (e KCMIODeckState) String() string
type KCMIODeckStatus ¶
type KCMIODeckStatus int
const ( KCMIODeckStatusBusy KCMIODeckStatus = 0 KCMIODeckStatusLocal KCMIODeckStatus = 0 KCMIODeckStatusNoDevice KCMIODeckStatus = 0 KCMIODeckStatusNotThreaded KCMIODeckStatus = 0 KCMIODeckStatusOpcode KCMIODeckStatus = 0 KCMIODeckStatusSearchingForDevice KCMIODeckStatus = 0 KCMIODeckStatusTapeInserted KCMIODeckStatus = 0 )
func (KCMIODeckStatus) String ¶
func (e KCMIODeckStatus) String() string
type KCMIODevice ¶
type KCMIODevice uint
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 uint
const ( KCMIODeviceAVCSignalMode8mmNTSC KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalMode8mmPAL KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeAudio KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeDVCPro100_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeDVCPro100_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeDVCPro25_525_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeDVCPro25_625_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeDVCPro50_525_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeDVCPro50_625_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeDVHS KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeHD1125_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeHD1250_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeHDV1_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeHDV1_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeHDV2_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeHDV2_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeHi8NTSC KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeHi8PAL KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeMPEG12Mbps_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeMPEG12Mbps_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeMPEG25Mbps_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeMPEG25Mbps_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeMPEG6Mbps_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeMPEG6Mbps_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeMicroMV12Mbps_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeMicroMV12Mbps_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeMicroMV6Mbps_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeMicroMV6Mbps_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeSD525_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeSD625_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeSDL525_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeSDL625_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeSVHS525_60 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeSVHS625_50 KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeVHSMESECAM KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeVHSMPAL KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeVHSNPAL KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeVHSNTSC KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeVHSPAL KCMIODeviceAVCSignal = 0 KCMIODeviceAVCSignalModeVHSSECAM KCMIODeviceAVCSignal = 0 )
func (KCMIODeviceAVCSignal) String ¶
func (e KCMIODeviceAVCSignal) String() string
type KCMIODeviceProperty ¶
type KCMIODeviceProperty uint
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. KCMIODevicePropertyDeviceMaster KCMIODeviceProperty = 'p'<<24 | 'm'<<16 | 'n'<<8 | 'h' // 'pmnh' )
func (KCMIODeviceProperty) String ¶
func (e KCMIODeviceProperty) String() string
type KCMIODevicePropertyLocation ¶
type KCMIODevicePropertyLocation uint
const ( KCMIODevicePropertyLocationBuiltInDisplay KCMIODevicePropertyLocation = 0 KCMIODevicePropertyLocationExternalDevice KCMIODevicePropertyLocation = 0 KCMIODevicePropertyLocationExternalDisplay KCMIODevicePropertyLocation = 0 KCMIODevicePropertyLocationExternalWirelessDevice KCMIODevicePropertyLocation = 0 KCMIODevicePropertyLocationUnknown KCMIODevicePropertyLocation = 0 )
func (KCMIODevicePropertyLocation) String ¶ added in v0.5.1
func (e KCMIODevicePropertyLocation) String() string
type KCMIOExposureControlProperty ¶
type KCMIOExposureControlProperty uint
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 uint
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 KCMIOHardwareProperty ¶
type KCMIOHardwareProperty uint
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. KCMIOHardwarePropertyProcessIsMaster KCMIOHardwareProperty = 'm'<<24 | 'a'<<16 | 's'<<8 | 't' // 'mast' )
func (KCMIOHardwareProperty) String ¶
func (e KCMIOHardwareProperty) String() string
type KCMIOObject ¶
type KCMIOObject uint
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. KCMIOObjectPropertyElementMaster KCMIOObject = 0 )
func (KCMIOObject) String ¶
func (e KCMIOObject) String() string
type KCMIOObjectProperty ¶
type KCMIOObjectProperty uint
const ( KCMIOObjectPropertyClass KCMIOObjectProperty = 'c'<<24 | 'l'<<16 | 'a'<<8 | 's' // 'clas' KCMIOObjectPropertyCreator KCMIOObjectProperty = 'o'<<24 | 'p'<<16 | 'l'<<8 | 'g' // 'oplg' KCMIOObjectPropertyElementCategoryName KCMIOObjectProperty = 'l'<<24 | 'c'<<16 | 'c'<<8 | 'n' // 'lccn' KCMIOObjectPropertyElementName KCMIOObjectProperty = 'l'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'lchn' KCMIOObjectPropertyElementNumberName KCMIOObjectProperty = 'l'<<24 | 'c'<<16 | 'n'<<8 | 'n' // 'lcnn' KCMIOObjectPropertyElementWildcard KCMIOObjectProperty = 0 KCMIOObjectPropertyListenerAdded KCMIOObjectProperty = 'l'<<24 | 'i'<<16 | 's'<<8 | 'a' // 'lisa' KCMIOObjectPropertyListenerRemoved KCMIOObjectProperty = 'l'<<24 | 'i'<<16 | 's'<<8 | 'r' // 'lisr' KCMIOObjectPropertyManufacturer KCMIOObjectProperty = 'l'<<24 | 'm'<<16 | 'a'<<8 | 'k' // 'lmak' KCMIOObjectPropertyName KCMIOObjectProperty = 'l'<<24 | 'n'<<16 | 'a'<<8 | 'm' // 'lnam' KCMIOObjectPropertyOwnedObjects KCMIOObjectProperty = 'o'<<24 | 'w'<<16 | 'n'<<8 | 'd' // 'ownd' KCMIOObjectPropertyOwner KCMIOObjectProperty = 's'<<24 | 't'<<16 | 'd'<<8 | 'v' // 'stdv' KCMIOObjectPropertyScopeWildcard KCMIOObjectProperty = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****' KCMIOObjectPropertySelectorWildcard KCMIOObjectProperty = '*'<<24 | '*'<<16 | '*'<<8 | '*' // '****' )
func (KCMIOObjectProperty) String ¶
func (e KCMIOObjectProperty) String() string
type KCMIOPlugInClassI ¶ added in v0.5.1
type KCMIOPlugInClassI uint
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 uint
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 uint
const ( KCMIOSampleBufferDiscontinuityFlag_BufferOverrun KCMIOSampleBuffer = 0 // KCMIOSampleBufferDiscontinuityFlag_ClientSyncDiscontinuity: # Discussion KCMIOSampleBufferDiscontinuityFlag_ClientSyncDiscontinuity KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_CodecSettingsChanged KCMIOSampleBuffer = 0 // KCMIOSampleBufferDiscontinuityFlag_DataFormatChanged: # Discussion KCMIOSampleBufferDiscontinuityFlag_DataFormatChanged KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_DataWasDropped KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_DataWasFlushed KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_DiscontinuityInDTS KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_DurationWasExtended KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_MalformedData KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_NoDataMarker KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_PacketError KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_RelatedToDiscontinuity KCMIOSampleBuffer = 0 // KCMIOSampleBufferDiscontinuityFlag_SleepWakeCycle: # Discussion KCMIOSampleBufferDiscontinuityFlag_SleepWakeCycle KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_StreamDiscontinuity KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_TimecodeDiscontinuity KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_TimingReferenceJumped KCMIOSampleBuffer = 0 // KCMIOSampleBufferDiscontinuityFlag_TrickPlay: # Discussion KCMIOSampleBufferDiscontinuityFlag_TrickPlay KCMIOSampleBuffer = 0 KCMIOSampleBufferDiscontinuityFlag_UnknownDiscontinuity KCMIOSampleBuffer = 0 KCMIOSampleBufferNoDiscontinuities KCMIOSampleBuffer = 0 )
func (KCMIOSampleBuffer) String ¶
func (e KCMIOSampleBuffer) String() string
type KCMIOSampleBufferNoDataEvent ¶
type KCMIOSampleBufferNoDataEvent uint
const ( KCMIOSampleBufferNoDataEvent_DeviceDidNotSync KCMIOSampleBufferNoDataEvent = 0 KCMIOSampleBufferNoDataEvent_DeviceInWrongMode KCMIOSampleBufferNoDataEvent = 0 KCMIOSampleBufferNoDataEvent_NoMedia KCMIOSampleBufferNoDataEvent = 0 KCMIOSampleBufferNoDataEvent_ProcessingError KCMIOSampleBufferNoDataEvent = 0 KCMIOSampleBufferNoDataEvent_SleepWakeCycle KCMIOSampleBufferNoDataEvent = 0 KCMIOSampleBufferNoDataEvent_Unknown KCMIOSampleBufferNoDataEvent = 0 )
func (KCMIOSampleBufferNoDataEvent) String ¶
func (e KCMIOSampleBufferNoDataEvent) String() string
type KCMIOSelectorControlProperty ¶
type KCMIOSelectorControlProperty uint
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 uint
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 uint
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