<!--
{
  "documentType" : "article",
  "framework" : "CoreMediaIO",
  "identifier" : "/documentation/CoreMediaIO/core-media-i-o-functions",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "DAL plug-in functions"
}
-->

# DAL plug-in functions

## Topics

### Functions

[`func CMIODeviceProcessAVCCommand(CMIODeviceID, UnsafeMutablePointer<CMIODeviceAVCCommand>!) -> OSStatus`](/documentation/CoreMediaIO/CMIODeviceProcessAVCCommand(_:_:))

[`func CMIODeviceProcessRS422Command(CMIODeviceID, UnsafeMutablePointer<CMIODeviceRS422Command>!) -> OSStatus`](/documentation/CoreMediaIO/CMIODeviceProcessRS422Command(_:_:))

[`func CMIODeviceStartStream(CMIODeviceID, CMIOStreamID) -> OSStatus`](/documentation/CoreMediaIO/CMIODeviceStartStream(_:_:))

[`func CMIODeviceStopStream(CMIODeviceID, CMIOStreamID) -> OSStatus`](/documentation/CoreMediaIO/CMIODeviceStopStream(_:_:))

[`func CMIOObjectAddPropertyListener(CMIOObjectID, UnsafePointer<CMIOObjectPropertyAddress>!, CMIOObjectPropertyListenerProc!, UnsafeMutableRawPointer!) -> OSStatus`](/documentation/CoreMediaIO/CMIOObjectAddPropertyListener(_:_:_:_:))

[`func CMIOObjectAddPropertyListenerBlock(CMIOObjectID, UnsafePointer<CMIOObjectPropertyAddress>!, dispatch_queue_t!, CMIOObjectPropertyListenerBlock!) -> OSStatus`](/documentation/CoreMediaIO/CMIOObjectAddPropertyListenerBlock(_:_:_:_:))

[`func CMIOObjectGetPropertyData(CMIOObjectID, UnsafePointer<CMIOObjectPropertyAddress>!, UInt32, UnsafeRawPointer!, UInt32, UnsafeMutablePointer<UInt32>!, UnsafeMutableRawPointer!) -> OSStatus`](/documentation/CoreMediaIO/CMIOObjectGetPropertyData(_:_:_:_:_:_:_:))

[`func CMIOObjectGetPropertyDataSize(CMIOObjectID, UnsafePointer<CMIOObjectPropertyAddress>!, UInt32, UnsafeRawPointer!, UnsafeMutablePointer<UInt32>!) -> OSStatus`](/documentation/CoreMediaIO/CMIOObjectGetPropertyDataSize(_:_:_:_:_:))

[`func CMIOObjectHasProperty(CMIOObjectID, UnsafePointer<CMIOObjectPropertyAddress>!) -> Bool`](/documentation/CoreMediaIO/CMIOObjectHasProperty(_:_:))

[`func CMIOObjectIsPropertySettable(CMIOObjectID, UnsafePointer<CMIOObjectPropertyAddress>!, UnsafeMutablePointer<DarwinBoolean>!) -> OSStatus`](/documentation/CoreMediaIO/CMIOObjectIsPropertySettable(_:_:_:))

[`func CMIOObjectRemovePropertyListener(CMIOObjectID, UnsafePointer<CMIOObjectPropertyAddress>!, CMIOObjectPropertyListenerProc!, UnsafeMutableRawPointer!) -> OSStatus`](/documentation/CoreMediaIO/CMIOObjectRemovePropertyListener(_:_:_:_:))

[`func CMIOObjectRemovePropertyListenerBlock(CMIOObjectID, UnsafePointer<CMIOObjectPropertyAddress>!, dispatch_queue_t!, CMIOObjectPropertyListenerBlock!) -> OSStatus`](/documentation/CoreMediaIO/CMIOObjectRemovePropertyListenerBlock(_:_:_:_:))

[`func CMIOObjectSetPropertyData(CMIOObjectID, UnsafePointer<CMIOObjectPropertyAddress>!, UInt32, UnsafeRawPointer!, UInt32, UnsafeRawPointer!) -> OSStatus`](/documentation/CoreMediaIO/CMIOObjectSetPropertyData(_:_:_:_:_:_:))

[`func CMIOObjectShow(CMIOObjectID)`](/documentation/CoreMediaIO/CMIOObjectShow(_:))

[`extern OSStatus CMIOSampleBufferCopyNonRequiredAttachments(CMSampleBufferRef sourceSBuf, CMSampleBufferRef destSBuf, CMAttachmentMode attachmentMode);`](/documentation/CoreMediaIO/CMIOSampleBufferCopyNonRequiredAttachments)

[`extern OSStatus CMIOSampleBufferCopySampleAttachments(CMSampleBufferRef sourceSBuf, CMSampleBufferRef destSBuf);`](/documentation/CoreMediaIO/CMIOSampleBufferCopySampleAttachments)

[`extern OSStatus CMIOSampleBufferCreate(CFAllocatorRef allocator, CMBlockBufferRef dataBuffer, CMFormatDescriptionRef formatDescription, UInt32 numSamples, UInt32 numSampleTimingEntries, const CMSampleTimingInfo *sampleTimingArray, UInt32 numSampleSizeEntries, const size_t *sampleSizeArray, UInt64 sequenceNumber, UInt32 discontinuityFlags, CMSampleBufferRef*sBufOut);`](/documentation/CoreMediaIO/CMIOSampleBufferCreate)

[`extern OSStatus CMIOSampleBufferCreateForImageBuffer(CFAllocatorRef allocator, CVImageBufferRef imageBuffer, CMVideoFormatDescriptionRef formatDescription, const CMSampleTimingInfo *sampleTiming, UInt64 sequenceNumber, UInt32 discontinuityFlags, CMSampleBufferRef*sBufOut);`](/documentation/CoreMediaIO/CMIOSampleBufferCreateForImageBuffer)

[`extern OSStatus CMIOSampleBufferCreateNoDataMarker(CFAllocatorRef allocator, UInt32 noDataEvent, CMFormatDescriptionRef formatDescription, UInt64 sequenceNumber, UInt32 discontinuityFlags, CMSampleBufferRef*sBufOut);`](/documentation/CoreMediaIO/CMIOSampleBufferCreateNoDataMarker)

[`extern UInt32 CMIOSampleBufferGetDiscontinuityFlags(CMSampleBufferRef sbuf);`](/documentation/CoreMediaIO/CMIOSampleBufferGetDiscontinuityFlags)

[`extern UInt64 CMIOSampleBufferGetSequenceNumber(CMSampleBufferRef sbuf);`](/documentation/CoreMediaIO/CMIOSampleBufferGetSequenceNumber)

[`extern void CMIOSampleBufferSetDiscontinuityFlags(CFAllocatorRef allocator, CMSampleBufferRef sbuf, UInt32 discontinuityFlags);`](/documentation/CoreMediaIO/CMIOSampleBufferSetDiscontinuityFlags)

[`extern void CMIOSampleBufferSetSequenceNumber(CFAllocatorRef allocator, CMSampleBufferRef sbuf, UInt64 sequenceNumber);`](/documentation/CoreMediaIO/CMIOSampleBufferSetSequenceNumber)

[`func CMIOStreamClockConvertHostTimeToDeviceTime(UInt64, CFTypeRef!) -> CMTime`](/documentation/CoreMediaIO/CMIOStreamClockConvertHostTimeToDeviceTime(_:_:))

[`func CMIOStreamClockCreate(CFAllocator!, CFString!, UnsafeRawPointer!, CMTime, UInt32, UInt32, UnsafeMutablePointer<Unmanaged<CFTypeRef>?>!) -> OSStatus`](/documentation/CoreMediaIO/CMIOStreamClockCreate(_:_:_:_:_:_:_:))

[`func CMIOStreamClockInvalidate(CFTypeRef!) -> OSStatus`](/documentation/CoreMediaIO/CMIOStreamClockInvalidate(_:))

[`func CMIOStreamClockPostTimingEvent(CMTime, UInt64, Bool, CFTypeRef!) -> OSStatus`](/documentation/CoreMediaIO/CMIOStreamClockPostTimingEvent(_:_:_:_:))

[`func CMIOStreamCopyBufferQueue(CMIOStreamID, CMIODeviceStreamQueueAlteredProc!, UnsafeMutableRawPointer!, UnsafeMutablePointer<Unmanaged<CMSimpleQueue>?>!) -> OSStatus`](/documentation/CoreMediaIO/CMIOStreamCopyBufferQueue(_:_:_:_:))

[`func CMIOStreamDeckCueTo(CMIOStreamID, UInt64, Bool) -> OSStatus`](/documentation/CoreMediaIO/CMIOStreamDeckCueTo(_:_:_:))

[`func CMIOStreamDeckJog(CMIOStreamID, Int32) -> OSStatus`](/documentation/CoreMediaIO/CMIOStreamDeckJog(_:_:))

[`func CMIOStreamDeckPlay(CMIOStreamID) -> OSStatus`](/documentation/CoreMediaIO/CMIOStreamDeckPlay(_:))

[`func CMIOStreamDeckStop(CMIOStreamID) -> OSStatus`](/documentation/CoreMediaIO/CMIOStreamDeckStop(_:))

[`extern OSStatus CMIOObjectCreate(CMIOHardwarePlugInRef owningPlugIn, CMIOObjectID owningObjectID, CMIOClassID classID, CMIOObjectID *objectID);`](/documentation/CoreMediaIO/CMIOObjectCreate)

[`extern OSStatus CMIOObjectPropertiesChanged(CMIOHardwarePlugInRef owningPlugIn, CMIOObjectID objectID, UInt32 numberAddresses, const CMIOObjectPropertyAddress addresses[]);`](/documentation/CoreMediaIO/CMIOObjectPropertiesChanged)

[`extern OSStatus CMIOObjectsPublishedAndDied(CMIOHardwarePlugInRef owningPlugIn, CMIOObjectID owningObjectID, UInt32 numberPublishedCMIOObjects, const CMIOObjectID publishedCMIOObjects[], UInt32 numberDeadCMIOObjects, const CMIOObjectID deadCMIOObjects[]);`](/documentation/CoreMediaIO/CMIOObjectsPublishedAndDied)

### Macros

[`#define CMIODiscontinuityFlagsHaveHardDiscontinuities(flags)`](/documentation/CoreMediaIO/CMIODiscontinuityFlagsHaveHardDiscontinuities)

[`#define CMIOGetNextSequenceNumber(x)`](/documentation/CoreMediaIO/CMIOGetNextSequenceNumber)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)