Documentation Archive Developer
Search

CoreMedia Changes for Swift

CoreMedia

Declaration
From
struct CMBlockBufferCustomBlockSource {
    var version: UInt32
    var AllocateBlock: ((UnsafeMutablePointer<Void>, Int) -> UnsafeMutablePointer<Void>)?
    var FreeBlock: ((UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>, Int) -> Void)?
    var refCon: UnsafeMutablePointer<Void>
    init()
    init(version version: UInt32, AllocateBlock AllocateBlock: ((UnsafeMutablePointer<Void>, Int) -> UnsafeMutablePointer<Void>)?, FreeBlock FreeBlock: ((UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>, Int) -> Void)?, refCon refCon: UnsafeMutablePointer<Void>)
}
To
struct CMBlockBufferCustomBlockSource {
    var version: UInt32
    var AllocateBlock: ((UnsafeMutableRawPointer?, Int) -> UnsafeMutableRawPointer?)?
    var FreeBlock: ((UnsafeMutableRawPointer?, UnsafeMutableRawPointer, Int) -> Swift.Void)?
    var refCon: UnsafeMutableRawPointer?
    init()
    init(version version: UInt32, AllocateBlock AllocateBlock: (@escaping (UnsafeMutableRawPointer?, Int) -> UnsafeMutableRawPointer?)?, FreeBlock FreeBlock: (@escaping (UnsafeMutableRawPointer?, UnsafeMutableRawPointer, Int) -> Swift.Void)?, refCon refCon: UnsafeMutableRawPointer?)
}

Declaration
From
var AllocateBlock: ((UnsafeMutablePointer<Void>, Int) -> UnsafeMutablePointer<Void>)?
To
var AllocateBlock: ((UnsafeMutableRawPointer?, Int) -> UnsafeMutableRawPointer?)?

Declaration
From
var FreeBlock: ((UnsafeMutablePointer<Void>, UnsafeMutablePointer<Void>, Int) -> Void)?
To
var FreeBlock: ((UnsafeMutableRawPointer?, UnsafeMutableRawPointer, Int) -> Swift.Void)?

Declaration
From
var refCon: UnsafeMutablePointer<Void>
To
var refCon: UnsafeMutableRawPointer?

Declaration
From
struct CMBufferCallbacks {
    var version: UInt32
    var refcon: UnsafeMutablePointer<Void>
    var getDecodeTimeStamp: CMBufferGetTimeCallback?
    var getPresentationTimeStamp: CMBufferGetTimeCallback?
    var getDuration: CMBufferGetTimeCallback
    var isDataReady: CMBufferGetBooleanCallback?
    var compare: CMBufferCompareCallback?
    var dataBecameReadyNotification: Unmanaged<CFString>?
    var getSize: CMBufferGetSizeCallback?
}
To
struct CMBufferCallbacks {
    var version: UInt32
    var refcon: UnsafeMutableRawPointer?
    var getDecodeTimeStamp: CoreMedia.CMBufferGetTimeCallback?
    var getPresentationTimeStamp: CoreMedia.CMBufferGetTimeCallback?
    var getDuration: CoreMedia.CMBufferGetTimeCallback
    var isDataReady: CoreMedia.CMBufferGetBooleanCallback?
    var compare: CoreMedia.CMBufferCompareCallback?
    var dataBecameReadyNotification: Unmanaged<CFString>?
    var getSize: CoreMedia.CMBufferGetSizeCallback?
}

Declaration
From
var compare: CMBufferCompareCallback?
To
var compare: CoreMedia.CMBufferCompareCallback?

Declaration
From
var getDecodeTimeStamp: CMBufferGetTimeCallback?
To
var getDecodeTimeStamp: CoreMedia.CMBufferGetTimeCallback?

Declaration
From
var getDuration: CMBufferGetTimeCallback
To
var getDuration: CoreMedia.CMBufferGetTimeCallback

Declaration
From
var getPresentationTimeStamp: CMBufferGetTimeCallback?
To
var getPresentationTimeStamp: CoreMedia.CMBufferGetTimeCallback?

Declaration
From
var getSize: CMBufferGetSizeCallback?
To
var getSize: CoreMedia.CMBufferGetSizeCallback?

Declaration
From
var isDataReady: CMBufferGetBooleanCallback?
To
var isDataReady: CoreMedia.CMBufferGetBooleanCallback?

Declaration
From
var refcon: UnsafeMutablePointer<Void>
To
var refcon: UnsafeMutableRawPointer?

Declaration
From
struct CMTime {
    var value: CMTimeValue
    var timescale: CMTimeScale
    var flags: CMTimeFlags
    var epoch: CMTimeEpoch
    init()
    init(value value: CMTimeValue, timescale timescale: CMTimeScale, flags flags: CMTimeFlags, epoch epoch: CMTimeEpoch)
}
extension CMTime {
    init(seconds seconds: Double, preferredTimescale preferredTimescale: CMTimeScale)
    init(value value: CMTimeValue, timescale timescale: CMTimeScale)
}
extension CMTime {
    var isValid: Bool { get }
    var isPositiveInfinity: Bool { get }
    var isNegativeInfinity: Bool { get }
    var isIndefinite: Bool { get }
    var isNumeric: Bool { get }
    var hasBeenRounded: Bool { get }
    var seconds: Double { get }
    func convertScale(_ newTimescale: Int32, method method: CMTimeRoundingMethod) -> CMTime
}
extension CMTime : Equatable, Comparable {
}
extension CMTime {
    init(seconds seconds: Double, preferredTimescale preferredTimescale: CMTimeScale)
    init(value value: CMTimeValue, timescale timescale: CMTimeScale)
}
extension CMTime {
    var isValid: Bool { get }
    var isPositiveInfinity: Bool { get }
    var isNegativeInfinity: Bool { get }
    var isIndefinite: Bool { get }
    var isNumeric: Bool { get }
    var hasBeenRounded: Bool { get }
    var seconds: Double { get }
    func convertScale(_ newTimescale: Int32, method method: CMTimeRoundingMethod) -> CMTime
}
extension CMTime : Equatable, Comparable {
}
To
struct CMTime {
    var value: CMTimeValue
    var timescale: CMTimeScale
    var flags: CMTimeFlags
    var epoch: CMTimeEpoch
    init()
    init(value value: CMTimeValue, timescale timescale: CMTimeScale, flags flags: CMTimeFlags, epoch epoch: CMTimeEpoch)
    init(seconds seconds: Double, preferredTimescale preferredTimescale: CMTimeScale)
    init(value value: CMTimeValue, timescale timescale: CMTimeScale)
    var isValid: Bool { get }
    var isPositiveInfinity: Bool { get }
    var isNegativeInfinity: Bool { get }
    var isIndefinite: Bool { get }
    var isNumeric: Bool { get }
    var hasBeenRounded: Bool { get }
    var seconds: Double { get }
    func convertScale(_ newTimescale: Int32, method method: CMTimeRoundingMethod) -> CMTime
}
extension CMTime {
    init(seconds seconds: Double, preferredTimescale preferredTimescale: CMTimeScale)
    init(value value: CMTimeValue, timescale timescale: CMTimeScale)
}
extension CMTime {
    var isValid: Bool { get }
    var isPositiveInfinity: Bool { get }
    var isNegativeInfinity: Bool { get }
    var isIndefinite: Bool { get }
    var isNumeric: Bool { get }
    var hasBeenRounded: Bool { get }
    var seconds: Double { get }
    func convertScale(_ newTimescale: Int32, method method: CMTimeRoundingMethod) -> CMTime
}
extension CMTime : Equatable, Comparable {
}

DeclarationProtocols
From
struct CMTimeFlags : OptionSetType {
    init(rawValue rawValue: UInt32)
    static var Valid: CMTimeFlags { get }
    static var HasBeenRounded: CMTimeFlags { get }
    static var PositiveInfinity: CMTimeFlags { get }
    static var NegativeInfinity: CMTimeFlags { get }
    static var Indefinite: CMTimeFlags { get }
    static var ImpliedValueFlagsMask: CMTimeFlags { get }
}
OptionSetType
To
struct CMTimeFlags : OptionSet {
    init(rawValue rawValue: UInt32)
    static var valid: CMTimeFlags { get }
    static var hasBeenRounded: CMTimeFlags { get }
    static var positiveInfinity: CMTimeFlags { get }
    static var negativeInfinity: CMTimeFlags { get }
    static var indefinite: CMTimeFlags { get }
    static var impliedValueFlagsMask: CMTimeFlags { get }
    func intersect(_ other: CMTimeFlags) -> CMTimeFlags
    func exclusiveOr(_ other: CMTimeFlags) -> CMTimeFlags
    mutating func unionInPlace(_ other: CMTimeFlags)
    mutating func intersectInPlace(_ other: CMTimeFlags)
    mutating func exclusiveOrInPlace(_ other: CMTimeFlags)
    func isSubsetOf(_ other: CMTimeFlags) -> Bool
    func isDisjointWith(_ other: CMTimeFlags) -> Bool
    func isSupersetOf(_ other: CMTimeFlags) -> Bool
    mutating func subtractInPlace(_ other: CMTimeFlags)
    func isStrictSupersetOf(_ other: CMTimeFlags) -> Bool
    func isStrictSubsetOf(_ other: CMTimeFlags) -> Bool
}
extension CMTimeFlags {
    func union(_ other: CMTimeFlags) -> CMTimeFlags
    func intersection(_ other: CMTimeFlags) -> CMTimeFlags
    func symmetricDifference(_ other: CMTimeFlags) -> CMTimeFlags
}
extension CMTimeFlags {
    func contains(_ member: CMTimeFlags) -> Bool
    mutating func insert(_ newMember: CMTimeFlags) -> (inserted: Bool, memberAfterInsert: CMTimeFlags)
    mutating func remove(_ member: CMTimeFlags) -> CMTimeFlags?
    mutating func update(with newMember: CMTimeFlags) -> CMTimeFlags?
}
extension CMTimeFlags {
    convenience init()
    mutating func formUnion(_ other: CMTimeFlags)
    mutating func formIntersection(_ other: CMTimeFlags)
    mutating func formSymmetricDifference(_ other: CMTimeFlags)
}
extension CMTimeFlags {
    convenience init<S : Sequence where S.Iterator.Element == CMTimeFlags>(_ sequence: S)
    convenience init(arrayLiteral arrayLiteral: CMTimeFlags...)
    mutating func subtract(_ other: CMTimeFlags)
    func isSubset(of other: CMTimeFlags) -> Bool
    func isSuperset(of other: CMTimeFlags) -> Bool
    func isDisjoint(with other: CMTimeFlags) -> Bool
    func subtracting(_ other: CMTimeFlags) -> CMTimeFlags
    var isEmpty: Bool { get }
    func isStrictSuperset(of other: CMTimeFlags) -> Bool
    func isStrictSubset(of other: CMTimeFlags) -> Bool
}
OptionSet

Declaration
From
static var HasBeenRounded: CMTimeFlags { get }
To
static var hasBeenRounded: CMTimeFlags { get }

Declaration
From
static var ImpliedValueFlagsMask: CMTimeFlags { get }
To
static var impliedValueFlagsMask: CMTimeFlags { get }

Declaration
From
static var Indefinite: CMTimeFlags { get }
To
static var indefinite: CMTimeFlags { get }

Declaration
From
static var NegativeInfinity: CMTimeFlags { get }
To
static var negativeInfinity: CMTimeFlags { get }

Declaration
From
static var PositiveInfinity: CMTimeFlags { get }
To
static var positiveInfinity: CMTimeFlags { get }

Declaration
From
static var Valid: CMTimeFlags { get }
To
static var valid: CMTimeFlags { get }

Declaration
From
struct CMTimeRange {
    var start: CMTime
    var duration: CMTime
    init()
    init(start start: CMTime, duration duration: CMTime)
}
extension CMTimeRange {
    init(start start: CMTime, end end: CMTime)
    var isValid: Bool { get }
    var isIndefinite: Bool { get }
    var isEmpty: Bool { get }
    var end: CMTime { get }
    @warn_unused_result
    func union(_ otherRange: CMTimeRange) -> CMTimeRange
    @warn_unused_result
    func intersection(_ otherRange: CMTimeRange) -> CMTimeRange
    @warn_unused_result
    func containsTime(_ time: CMTime) -> Bool
    @warn_unused_result
    func containsTimeRange(_ range: CMTimeRange) -> Bool
}
extension CMTimeRange : Equatable {
}
extension CMTimeRange {
    init(start start: CMTime, end end: CMTime)
    var isValid: Bool { get }
    var isIndefinite: Bool { get }
    var isEmpty: Bool { get }
    var end: CMTime { get }
    @warn_unused_result
    func union(_ otherRange: CMTimeRange) -> CMTimeRange
    @warn_unused_result
    func intersection(_ otherRange: CMTimeRange) -> CMTimeRange
    @warn_unused_result
    func containsTime(_ time: CMTime) -> Bool
    @warn_unused_result
    func containsTimeRange(_ range: CMTimeRange) -> Bool
}
extension CMTimeRange : Equatable {
}
To
struct CMTimeRange {
    var start: CMTime
    var duration: CMTime
    init()
    init(start start: CMTime, duration duration: CMTime)
    init(start start: CMTime, end end: CMTime)
    var isValid: Bool { get }
    var isIndefinite: Bool { get }
    var isEmpty: Bool { get }
    var end: CMTime { get }
    func union(_ otherRange: CMTimeRange) -> CMTimeRange
    func intersection(_ otherRange: CMTimeRange) -> CMTimeRange
    func containsTime(_ time: CMTime) -> Bool
    func containsTimeRange(_ range: CMTimeRange) -> Bool
}
extension CMTimeRange {
    init(start start: CMTime, end end: CMTime)
    var isValid: Bool { get }
    var isIndefinite: Bool { get }
    var isEmpty: Bool { get }
    var end: CMTime { get }
    func union(_ otherRange: CMTimeRange) -> CMTimeRange
    func intersection(_ otherRange: CMTimeRange) -> CMTimeRange
    func containsTime(_ time: CMTime) -> Bool
    func containsTimeRange(_ range: CMTimeRange) -> Bool
}
extension CMTimeRange : Equatable {
}

Declaration
From
@warn_unused_result
    func containsTime(_ time: CMTime) -> Bool
To
func containsTime(_ time: CMTime) -> Bool

Declaration
From
@warn_unused_result
    func containsTimeRange(_ range: CMTimeRange) -> Bool
To
func containsTimeRange(_ range: CMTimeRange) -> Bool

Declaration
From
@warn_unused_result
    func intersection(_ otherRange: CMTimeRange) -> CMTimeRange
To
func intersection(_ otherRange: CMTimeRange) -> CMTimeRange

Declaration
From
@warn_unused_result
    func union(_ otherRange: CMTimeRange) -> CMTimeRange
To
func union(_ otherRange: CMTimeRange) -> CMTimeRange

Declaration
From
enum CMTimeRoundingMethod : UInt32 {
    case RoundHalfAwayFromZero
    case RoundTowardZero
    case RoundAwayFromZero
    case QuickTime
    case RoundTowardPositiveInfinity
    case RoundTowardNegativeInfinity
    static var Default: CMTimeRoundingMethod { get }
}
To
enum CMTimeRoundingMethod : UInt32 {
    case roundHalfAwayFromZero
    case roundTowardZero
    case roundAwayFromZero
    case quickTime
    case roundTowardPositiveInfinity
    case roundTowardNegativeInfinity
    static var `default`: CMTimeRoundingMethod { get }
}

Declaration
From
static var Default: CMTimeRoundingMethod { get }
To
static var `default`: CMTimeRoundingMethod { get }

Declaration
From
case QuickTime
To
case quickTime

Declaration
From
case RoundAwayFromZero
To
case roundAwayFromZero

Declaration
From
case RoundHalfAwayFromZero
To
case roundHalfAwayFromZero

Declaration
From
case RoundTowardNegativeInfinity
To
case roundTowardNegativeInfinity

Declaration
From
case RoundTowardPositiveInfinity
To
case roundTowardPositiveInfinity

Declaration
From
case RoundTowardZero
To
case roundTowardZero

Modified !=(_: CMTimeRange, _: CMTimeRange) -> Bool
Declaration
From
@warn_unused_result
func !=(_ range1: CMTimeRange, _ range2: CMTimeRange) -> Bool
To
func !=(_ range1: CMTimeRange, _ range2: CMTimeRange) -> Bool

Modified !=(_: CMTime, _: CMTime) -> Bool
Declaration
From
@warn_unused_result
func !=(_ time1: CMTime, _ time2: CMTime) -> Bool
To
func !=(_ time1: CMTime, _ time2: CMTime) -> Bool

Modified +(_: CMTime, _: CMTime) -> CMTime
Declaration
From
@warn_unused_result
func +(_ addend1: CMTime, _ addend2: CMTime) -> CMTime
To
func +(_ addend1: CMTime, _ addend2: CMTime) -> CMTime

Modified -(_: CMTime, _: CMTime) -> CMTime
Declaration
From
@warn_unused_result
func -(_ minuend: CMTime, _ subtrahend: CMTime) -> CMTime
To
func -(_ minuend: CMTime, _ subtrahend: CMTime) -> CMTime

Modified <(_: CMTime, _: CMTime) -> Bool
Declaration
From
@warn_unused_result
func <(_ time1: CMTime, _ time2: CMTime) -> Bool
To
func <(_ time1: CMTime, _ time2: CMTime) -> Bool

Modified <=(_: CMTime, _: CMTime) -> Bool
Declaration
From
@warn_unused_result
func <=(_ time1: CMTime, _ time2: CMTime) -> Bool
To
func <=(_ time1: CMTime, _ time2: CMTime) -> Bool

Modified ==(_: CMTime, _: CMTime) -> Bool
Declaration
From
@warn_unused_result
func ==(_ time1: CMTime, _ time2: CMTime) -> Bool
To
func ==(_ time1: CMTime, _ time2: CMTime) -> Bool

Modified ==(_: CMTimeRange, _: CMTimeRange) -> Bool
Declaration
From
@warn_unused_result
func ==(_ range1: CMTimeRange, _ range2: CMTimeRange) -> Bool
To
func ==(_ range1: CMTimeRange, _ range2: CMTimeRange) -> Bool

Modified >(_: CMTime, _: CMTime) -> Bool
Declaration
From
@warn_unused_result
func >(_ time1: CMTime, _ time2: CMTime) -> Bool
To
func >(_ time1: CMTime, _ time2: CMTime) -> Bool

Modified >=(_: CMTime, _: CMTime) -> Bool
Declaration
From
@warn_unused_result
func >=(_ time1: CMTime, _ time2: CMTime) -> Bool
To
func >=(_ time1: CMTime, _ time2: CMTime) -> Bool

Declaration
From
typealias CMAudioFormatDescriptionRef = CMAudioFormatDescription
To
typealias CMAudioFormatDescription = CMFormatDescription

Declaration
From
func CMAudioFormatDescriptionCreate(_ allocator: CFAllocator?, _ asbd: UnsafePointer<AudioStreamBasicDescription>, _ layoutSize: Int, _ layout: UnsafePointer<AudioChannelLayout>, _ magicCookieSize: Int, _ magicCookie: UnsafePointer<Void>, _ extensions: CFDictionary?, _ outDesc: UnsafeMutablePointer<CMAudioFormatDescription?>) -> OSStatus
To
func CMAudioFormatDescriptionCreate(_ allocator: CFAllocator?, _ asbd: UnsafePointer<AudioStreamBasicDescription>, _ layoutSize: Int, _ layout: UnsafePointer<AudioChannelLayout>?, _ magicCookieSize: Int, _ magicCookie: UnsafeRawPointer?, _ extensions: CFDictionary?, _ outDesc: UnsafeMutablePointer<CMAudioFormatDescription?>) -> OSStatus

Declaration
From
func CMAudioFormatDescriptionEqual(_ desc1: CMAudioFormatDescription, _ desc2: CMAudioFormatDescription, _ equalityMask: CMAudioFormatDescriptionMask, _ equalityMaskOut: UnsafeMutablePointer<CMAudioFormatDescriptionMask>) -> Bool
To
func CMAudioFormatDescriptionEqual(_ desc1: CMAudioFormatDescription, _ desc2: CMAudioFormatDescription, _ equalityMask: CMAudioFormatDescriptionMask, _ equalityMaskOut: UnsafeMutablePointer<CMAudioFormatDescriptionMask>?) -> Bool

Declaration
From
func CMAudioFormatDescriptionGetChannelLayout(_ desc: CMAudioFormatDescription, _ layoutSize: UnsafeMutablePointer<Int>) -> UnsafePointer<AudioChannelLayout>
To
func CMAudioFormatDescriptionGetChannelLayout(_ desc: CMAudioFormatDescription, _ layoutSize: UnsafeMutablePointer<Int>?) -> UnsafePointer<AudioChannelLayout>?

Declaration
From
func CMAudioFormatDescriptionGetFormatList(_ desc: CMAudioFormatDescription, _ formatListSize: UnsafeMutablePointer<Int>) -> UnsafePointer<AudioFormatListItem>
To
func CMAudioFormatDescriptionGetFormatList(_ desc: CMAudioFormatDescription, _ formatListSize: UnsafeMutablePointer<Int>?) -> UnsafePointer<AudioFormatListItem>?

Declaration
From
func CMAudioFormatDescriptionGetMagicCookie(_ desc: CMAudioFormatDescription, _ cookieSizeOut: UnsafeMutablePointer<Int>) -> UnsafePointer<Void>
To
func CMAudioFormatDescriptionGetMagicCookie(_ desc: CMAudioFormatDescription, _ cookieSizeOut: UnsafeMutablePointer<Int>?) -> UnsafeRawPointer?

Declaration
From
func CMAudioFormatDescriptionGetMostCompatibleFormat(_ desc: CMAudioFormatDescription) -> UnsafePointer<AudioFormatListItem>
To
func CMAudioFormatDescriptionGetMostCompatibleFormat(_ desc: CMAudioFormatDescription) -> UnsafePointer<AudioFormatListItem>?

Declaration
From
func CMAudioFormatDescriptionGetRichestDecodableFormat(_ desc: CMAudioFormatDescription) -> UnsafePointer<AudioFormatListItem>
To
func CMAudioFormatDescriptionGetRichestDecodableFormat(_ desc: CMAudioFormatDescription) -> UnsafePointer<AudioFormatListItem>?

Declaration
From
func CMAudioFormatDescriptionGetStreamBasicDescription(_ desc: CMAudioFormatDescription) -> UnsafePointer<AudioStreamBasicDescription>
To
func CMAudioFormatDescriptionGetStreamBasicDescription(_ desc: CMAudioFormatDescription) -> UnsafePointer<AudioStreamBasicDescription>?

Declaration
From
func CMAudioSampleBufferCreateReadyWithPacketDescriptions(_ allocator: CFAllocator?, _ dataBuffer: CMBlockBuffer?, _ formatDescription: CMFormatDescription, _ numSamples: CMItemCount, _ sbufPTS: CMTime, _ packetDescriptions: UnsafePointer<AudioStreamPacketDescription>, _ sBufOut: UnsafeMutablePointer<CMSampleBuffer?>) -> OSStatus
To
func CMAudioSampleBufferCreateReadyWithPacketDescriptions(_ allocator: CFAllocator?, _ dataBuffer: CMBlockBuffer?, _ formatDescription: CMFormatDescription, _ numSamples: CMItemCount, _ sbufPTS: CMTime, _ packetDescriptions: UnsafePointer<AudioStreamPacketDescription>?, _ sBufOut: UnsafeMutablePointer<CMSampleBuffer?>) -> OSStatus

Declaration
From
func CMAudioSampleBufferCreateWithPacketDescriptions(_ allocator: CFAllocator?, _ dataBuffer: CMBlockBuffer?, _ dataReady: Bool, _ makeDataReadyCallback: CMSampleBufferMakeDataReadyCallback?, _ makeDataReadyRefcon: UnsafeMutablePointer<Void>, _ formatDescription: CMFormatDescription, _ numSamples: CMItemCount, _ sbufPTS: CMTime, _ packetDescriptions: UnsafePointer<AudioStreamPacketDescription>, _ sBufOut: UnsafeMutablePointer<CMSampleBuffer?>) -> OSStatus
To
func CMAudioSampleBufferCreateWithPacketDescriptions(_ allocator: CFAllocator?, _ dataBuffer: CMBlockBuffer?, _ dataReady: Bool, _ makeDataReadyCallback: CoreMedia.CMSampleBufferMakeDataReadyCallback?, _ makeDataReadyRefcon: UnsafeMutableRawPointer?, _ formatDescription: CMFormatDescription, _ numSamples: CMItemCount, _ sbufPTS: CMTime, _ packetDescriptions: UnsafePointer<AudioStreamPacketDescription>?, _ sBufOut: UnsafeMutablePointer<CMSampleBuffer?>) -> OSStatus

Declaration
From
func CMBlockBufferAccessDataBytes(_ theBuffer: CMBlockBuffer, _ offset: Int, _ length: Int, _ temporaryBlock: UnsafeMutablePointer<Void>, _ returnedPointer: UnsafeMutablePointer<UnsafeMutablePointer<Int8>>) -> OSStatus
To
func CMBlockBufferAccessDataBytes(_ theBuffer: CMBlockBuffer, _ offset: Int, _ length: Int, _ temporaryBlock: UnsafeMutableRawPointer, _ returnedPointer: UnsafeMutablePointer<UnsafeMutablePointer<Int8>?>) -> OSStatus

Declaration
From
func CMBlockBufferAppendMemoryBlock(_ theBuffer: CMBlockBuffer, _ memoryBlock: UnsafeMutablePointer<Void>, _ blockLength: Int, _ blockAllocator: CFAllocator?, _ customBlockSource: UnsafePointer<CMBlockBufferCustomBlockSource>, _ offsetToData: Int, _ dataLength: Int, _ flags: CMBlockBufferFlags) -> OSStatus
To
func CMBlockBufferAppendMemoryBlock(_ theBuffer: CMBlockBuffer, _ memoryBlock: UnsafeMutableRawPointer?, _ blockLength: Int, _ blockAllocator: CFAllocator?, _ customBlockSource: UnsafePointer<CMBlockBufferCustomBlockSource>?, _ offsetToData: Int, _ dataLength: Int, _ flags: CMBlockBufferFlags) -> OSStatus

Declaration
From
func CMBlockBufferCopyDataBytes(_ theSourceBuffer: CMBlockBuffer, _ offsetToData: Int, _ dataLength: Int, _ destination: UnsafeMutablePointer<Void>) -> OSStatus
To
func CMBlockBufferCopyDataBytes(_ theSourceBuffer: CMBlockBuffer, _ offsetToData: Int, _ dataLength: Int, _ destination: UnsafeMutableRawPointer) -> OSStatus

Declaration
From
func CMBlockBufferCreateContiguous(_ structureAllocator: CFAllocator?, _ sourceBuffer: CMBlockBuffer, _ blockAllocator: CFAllocator?, _ customBlockSource: UnsafePointer<CMBlockBufferCustomBlockSource>, _ offsetToData: Int, _ dataLength: Int, _ flags: CMBlockBufferFlags, _ newBBufOut: UnsafeMutablePointer<CMBlockBuffer?>) -> OSStatus
To
func CMBlockBufferCreateContiguous(_ structureAllocator: CFAllocator?, _ sourceBuffer: CMBlockBuffer, _ blockAllocator: CFAllocator?, _ customBlockSource: UnsafePointer<CMBlockBufferCustomBlockSource>?, _ offsetToData: Int, _ dataLength: Int, _ flags: CMBlockBufferFlags, _ newBBufOut: UnsafeMutablePointer<CMBlockBuffer?>) -> OSStatus

Declaration
From
func CMBlockBufferCreateWithMemoryBlock(_ structureAllocator: CFAllocator?, _ memoryBlock: UnsafeMutablePointer<Void>, _ blockLength: Int, _ blockAllocator: CFAllocator?, _ customBlockSource: UnsafePointer<CMBlockBufferCustomBlockSource>, _ offsetToData: Int, _ dataLength: Int, _ flags: CMBlockBufferFlags, _ newBBufOut: UnsafeMutablePointer<CMBlockBuffer?>) -> OSStatus
To
func CMBlockBufferCreateWithMemoryBlock(_ structureAllocator: CFAllocator?, _ memoryBlock: UnsafeMutableRawPointer?, _ blockLength: Int, _ blockAllocator: CFAllocator?, _ customBlockSource: UnsafePointer<CMBlockBufferCustomBlockSource>?, _ offsetToData: Int, _ dataLength: Int, _ flags: CMBlockBufferFlags, _ newBBufOut: UnsafeMutablePointer<CMBlockBuffer?>) -> OSStatus

Declaration
From
func CMBlockBufferGetDataPointer(_ theBuffer: CMBlockBuffer, _ offset: Int, _ lengthAtOffset: UnsafeMutablePointer<Int>, _ totalLength: UnsafeMutablePointer<Int>, _ dataPointer: UnsafeMutablePointer<UnsafeMutablePointer<Int8>>) -> OSStatus
To
func CMBlockBufferGetDataPointer(_ theBuffer: CMBlockBuffer, _ offset: Int, _ lengthAtOffset: UnsafeMutablePointer<Int>?, _ totalLength: UnsafeMutablePointer<Int>?, _ dataPointer: UnsafeMutablePointer<UnsafeMutablePointer<Int8>?>?) -> OSStatus

Declaration
From
func CMBlockBufferReplaceDataBytes(_ sourceBytes: UnsafePointer<Void>, _ destinationBuffer: CMBlockBuffer, _ offsetIntoDestination: Int, _ dataLength: Int) -> OSStatus
To
func CMBlockBufferReplaceDataBytes(_ sourceBytes: UnsafeRawPointer, _ destinationBuffer: CMBlockBuffer, _ offsetIntoDestination: Int, _ dataLength: Int) -> OSStatus

Declaration
From
typealias CMBufferCompareCallback = (CMBuffer, CMBuffer, UnsafeMutablePointer<Void>) -> CFComparisonResult
To
typealias CMBufferCompareCallback = (CMBuffer, CMBuffer, UnsafeMutableRawPointer?) -> CFComparisonResult

Declaration
From
typealias CMBufferGetBooleanCallback = (CMBuffer, UnsafeMutablePointer<Void>) -> DarwinBoolean
To
typealias CMBufferGetBooleanCallback = (CMBuffer, UnsafeMutableRawPointer?) -> DarwinBoolean

Declaration
From
typealias CMBufferGetSizeCallback = (CMBuffer, UnsafeMutablePointer<Void>) -> Int
To
typealias CMBufferGetSizeCallback = (CMBuffer, UnsafeMutableRawPointer?) -> Int

Declaration
From
typealias CMBufferGetTimeCallback = (CMBuffer, UnsafeMutablePointer<Void>) -> CMTime
To
typealias CMBufferGetTimeCallback = (CMBuffer, UnsafeMutableRawPointer?) -> CMTime

Declaration
From
func CMBufferQueueCallForEachBuffer(_ queue: CMBufferQueue, _ callback: (CMBuffer, UnsafeMutablePointer<Void>) -> OSStatus, _ refcon: UnsafeMutablePointer<Void>) -> OSStatus
To
func CMBufferQueueCallForEachBuffer(_ queue: CMBufferQueue, _ callback: @escaping (CMBuffer, UnsafeMutableRawPointer?) -> OSStatus, _ refcon: UnsafeMutableRawPointer?) -> OSStatus

Declaration
From
func CMBufferQueueInstallTrigger(_ queue: CMBufferQueue, _ triggerCallback: CMBufferQueueTriggerCallback?, _ triggerRefcon: UnsafeMutablePointer<Void>, _ triggerCondition: CMBufferQueueTriggerCondition, _ triggerTime: CMTime, _ triggerTokenOut: UnsafeMutablePointer<CMBufferQueueTriggerToken>) -> OSStatus
To
func CMBufferQueueInstallTrigger(_ queue: CMBufferQueue, _ triggerCallback: CoreMedia.CMBufferQueueTriggerCallback?, _ triggerRefcon: UnsafeMutableRawPointer?, _ triggerCondition: CMBufferQueueTriggerCondition, _ triggerTime: CMTime, _ triggerTokenOut: UnsafeMutablePointer<CMBufferQueueTriggerToken?>?) -> OSStatus

Declaration
From
func CMBufferQueueInstallTriggerWithIntegerThreshold(_ queue: CMBufferQueue, _ triggerCallback: CMBufferQueueTriggerCallback?, _ triggerRefcon: UnsafeMutablePointer<Void>, _ triggerCondition: CMBufferQueueTriggerCondition, _ triggerThreshold: CMItemCount, _ triggerTokenOut: UnsafeMutablePointer<CMBufferQueueTriggerToken>) -> OSStatus
To
func CMBufferQueueInstallTriggerWithIntegerThreshold(_ queue: CMBufferQueue, _ triggerCallback: CoreMedia.CMBufferQueueTriggerCallback?, _ triggerRefcon: UnsafeMutableRawPointer?, _ triggerCondition: CMBufferQueueTriggerCondition, _ triggerThreshold: CMItemCount, _ triggerTokenOut: UnsafeMutablePointer<CMBufferQueueTriggerToken?>?) -> OSStatus

Declaration
From
func CMBufferQueueResetWithCallback(_ queue: CMBufferQueue, _ callback: (CMBuffer, UnsafeMutablePointer<Void>) -> Void, _ refcon: UnsafeMutablePointer<Void>) -> OSStatus
To
func CMBufferQueueResetWithCallback(_ queue: CMBufferQueue, _ callback: @escaping (CMBuffer, UnsafeMutableRawPointer?) -> Swift.Void, _ refcon: UnsafeMutableRawPointer?) -> OSStatus

Declaration
From
func CMBufferQueueSetValidationCallback(_ queue: CMBufferQueue, _ validationCallback: CMBufferValidationCallback, _ validationRefCon: UnsafeMutablePointer<Void>) -> OSStatus
To
func CMBufferQueueSetValidationCallback(_ queue: CMBufferQueue, _ validationCallback: CoreMedia.CMBufferValidationCallback, _ validationRefCon: UnsafeMutableRawPointer?) -> OSStatus

Declaration
From
typealias CMBufferQueueTriggerCallback = (UnsafeMutablePointer<Void>, CMBufferQueueTriggerToken) -> Void
To
typealias CMBufferQueueTriggerCallback = (UnsafeMutableRawPointer?, CMBufferQueueTriggerToken) -> Swift.Void

Declaration
From
typealias CMBufferQueueTriggerToken = COpaquePointer
To
typealias CMBufferQueueTriggerToken = OpaquePointer

Declaration
From
typealias CMBufferValidationCallback = (CMBufferQueue, CMBuffer, UnsafeMutablePointer<Void>) -> OSStatus
To
typealias CMBufferValidationCallback = (CMBufferQueue, CMBuffer, UnsafeMutableRawPointer?) -> OSStatus

Declaration
From
typealias CMClockOrTimebaseRef = CMClockOrTimebase
To
typealias CMClockOrTimebase = CFTypeRef

Declaration
From
typealias CMClosedCaptionFormatDescription = CMFormatDescriptionRef
To
typealias CMClosedCaptionFormatDescription = CMFormatDescription

Declaration
From
func CMFormatDescriptionEqualIgnoringExtensionKeys(_ desc1: CMFormatDescription?, _ desc2: CMFormatDescription?, _ formatDescriptionExtensionKeysToIgnore: AnyObject?, _ sampleDescriptionExtensionAtomKeysToIgnore: AnyObject?) -> Bool
To
func CMFormatDescriptionEqualIgnoringExtensionKeys(_ desc1: CMFormatDescription?, _ desc2: CMFormatDescription?, _ formatDescriptionExtensionKeysToIgnore: CFTypeRef?, _ sampleDescriptionExtensionAtomKeysToIgnore: CFTypeRef?) -> Bool

Declaration
From
func CMGetAttachment(_ target: CMAttachmentBearer, _ key: CFString, _ attachmentModeOut: UnsafeMutablePointer<CMAttachmentMode>) -> AnyObject?
To
func CMGetAttachment(_ target: CMAttachmentBearer, _ key: CFString, _ attachmentModeOut: UnsafeMutablePointer<CMAttachmentMode>?) -> CFTypeRef?

Declaration
From
func CMMetadataCreateIdentifierForKeyAndKeySpace(_ allocator: CFAllocator?, _ key: AnyObject, _ keySpace: CFString, _ identifierOut: UnsafeMutablePointer<CFString?>) -> OSStatus
To
func CMMetadataCreateIdentifierForKeyAndKeySpace(_ allocator: CFAllocator?, _ key: CFTypeRef, _ keySpace: CFString, _ identifierOut: UnsafeMutablePointer<CFString?>) -> OSStatus

Declaration
From
func CMMetadataCreateKeyFromIdentifier(_ allocator: CFAllocator?, _ identifier: CFString, _ keyOut: UnsafeMutablePointer<AnyObject?>) -> OSStatus
To
func CMMetadataCreateKeyFromIdentifier(_ allocator: CFAllocator?, _ identifier: CFString, _ keyOut: UnsafeMutablePointer<CFTypeRef?>) -> OSStatus

Declaration
From
typealias CMMetadataFormatDescriptionRef = CMMetadataFormatDescription
To
typealias CMMetadataFormatDescription = CMFormatDescription

Declaration
From
typealias CMMuxedFormatDescriptionRef = CMMuxedFormatDescription
To
typealias CMMuxedFormatDescription = CMFormatDescription

Declaration
From
func CMSampleBufferCallBlockForEachSample(_ sbuf: CMSampleBuffer, _ handler: (CMSampleBuffer, CMItemCount) -> OSStatus) -> OSStatus
To
func CMSampleBufferCallBlockForEachSample(_ sbuf: CMSampleBuffer, _ handler: @escaping (CMSampleBuffer, CMItemCount) -> OSStatus) -> OSStatus

Declaration
From
func CMSampleBufferCallForEachSample(_ sbuf: CMSampleBuffer, _ callback: (CMSampleBuffer, CMItemCount, UnsafeMutablePointer<Void>) -> OSStatus, _ refcon: UnsafeMutablePointer<Void>) -> OSStatus
To
func CMSampleBufferCallForEachSample(_ sbuf: CMSampleBuffer, _ callback: @escaping (CMSampleBuffer, CMItemCount, UnsafeMutableRawPointer?) -> OSStatus, _ refcon: UnsafeMutableRawPointer?) -> OSStatus

Declaration
From
func CMSampleBufferCreate(_ allocator: CFAllocator?, _ dataBuffer: CMBlockBuffer?, _ dataReady: Bool, _ makeDataReadyCallback: CMSampleBufferMakeDataReadyCallback?, _ makeDataReadyRefcon: UnsafeMutablePointer<Void>, _ formatDescription: CMFormatDescription?, _ numSamples: CMItemCount, _ numSampleTimingEntries: CMItemCount, _ sampleTimingArray: UnsafePointer<CMSampleTimingInfo>, _ numSampleSizeEntries: CMItemCount, _ sampleSizeArray: UnsafePointer<Int>, _ sBufOut: UnsafeMutablePointer<CMSampleBuffer?>) -> OSStatus
To
func CMSampleBufferCreate(_ allocator: CFAllocator?, _ dataBuffer: CMBlockBuffer?, _ dataReady: Bool, _ makeDataReadyCallback: CoreMedia.CMSampleBufferMakeDataReadyCallback?, _ makeDataReadyRefcon: UnsafeMutableRawPointer?, _ formatDescription: CMFormatDescription?, _ numSamples: CMItemCount, _ numSampleTimingEntries: CMItemCount, _ sampleTimingArray: UnsafePointer<CMSampleTimingInfo>?, _ numSampleSizeEntries: CMItemCount, _ sampleSizeArray: UnsafePointer<Int>?, _ sBufOut: UnsafeMutablePointer<CMSampleBuffer?>) -> OSStatus

Declaration
From
func CMSampleBufferCreateCopyWithNewTiming(_ allocator: CFAllocator?, _ originalSBuf: CMSampleBuffer, _ numSampleTimingEntries: CMItemCount, _ sampleTimingArray: UnsafePointer<CMSampleTimingInfo>, _ sBufCopyOut: UnsafeMutablePointer<CMSampleBuffer?>) -> OSStatus
To
func CMSampleBufferCreateCopyWithNewTiming(_ allocator: CFAllocator?, _ originalSBuf: CMSampleBuffer, _ numSampleTimingEntries: CMItemCount, _ sampleTimingArray: UnsafePointer<CMSampleTimingInfo>?, _ sBufCopyOut: UnsafeMutablePointer<CMSampleBuffer?>) -> OSStatus

Declaration
From
func CMSampleBufferCreateForImageBuffer(_ allocator: CFAllocator?, _ imageBuffer: CVImageBuffer, _ dataReady: Bool, _ makeDataReadyCallback: CMSampleBufferMakeDataReadyCallback?, _ makeDataReadyRefcon: UnsafeMutablePointer<Void>, _ formatDescription: CMVideoFormatDescription, _ sampleTiming: UnsafePointer<CMSampleTimingInfo>, _ sBufOut: UnsafeMutablePointer<CMSampleBuffer?>) -> OSStatus
To
func CMSampleBufferCreateForImageBuffer(_ allocator: CFAllocator?, _ imageBuffer: CVImageBuffer, _ dataReady: Bool, _ makeDataReadyCallback: CoreMedia.CMSampleBufferMakeDataReadyCallback?, _ makeDataReadyRefcon: UnsafeMutableRawPointer?, _ formatDescription: CMVideoFormatDescription, _ sampleTiming: UnsafePointer<CMSampleTimingInfo>, _ sBufOut: UnsafeMutablePointer<CMSampleBuffer?>) -> OSStatus

Declaration
From
func CMSampleBufferCreateReady(_ allocator: CFAllocator?, _ dataBuffer: CMBlockBuffer?, _ formatDescription: CMFormatDescription?, _ numSamples: CMItemCount, _ numSampleTimingEntries: CMItemCount, _ sampleTimingArray: UnsafePointer<CMSampleTimingInfo>, _ numSampleSizeEntries: CMItemCount, _ sampleSizeArray: UnsafePointer<Int>, _ sBufOut: UnsafeMutablePointer<CMSampleBuffer?>) -> OSStatus
To
func CMSampleBufferCreateReady(_ allocator: CFAllocator?, _ dataBuffer: CMBlockBuffer?, _ formatDescription: CMFormatDescription?, _ numSamples: CMItemCount, _ numSampleTimingEntries: CMItemCount, _ sampleTimingArray: UnsafePointer<CMSampleTimingInfo>?, _ numSampleSizeEntries: CMItemCount, _ sampleSizeArray: UnsafePointer<Int>?, _ sBufOut: UnsafeMutablePointer<CMSampleBuffer?>) -> OSStatus

Declaration
From
func CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer(_ sbuf: CMSampleBuffer, _ bufferListSizeNeededOut: UnsafeMutablePointer<Int>, _ bufferListOut: UnsafeMutablePointer<AudioBufferList>, _ bufferListSize: Int, _ bbufStructAllocator: CFAllocator?, _ bbufMemoryAllocator: CFAllocator?, _ flags: UInt32, _ blockBufferOut: UnsafeMutablePointer<CMBlockBuffer?>) -> OSStatus
To
func CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer(_ sbuf: CMSampleBuffer, _ bufferListSizeNeededOut: UnsafeMutablePointer<Int>?, _ bufferListOut: UnsafeMutablePointer<AudioBufferList>?, _ bufferListSize: Int, _ bbufStructAllocator: CFAllocator?, _ bbufMemoryAllocator: CFAllocator?, _ flags: UInt32, _ blockBufferOut: UnsafeMutablePointer<CMBlockBuffer?>?) -> OSStatus

Declaration
From
func CMSampleBufferGetAudioStreamPacketDescriptions(_ sbuf: CMSampleBuffer, _ packetDescriptionsSize: Int, _ packetDescriptionsOut: UnsafeMutablePointer<AudioStreamPacketDescription>, _ packetDescriptionsSizeNeededOut: UnsafeMutablePointer<Int>) -> OSStatus
To
func CMSampleBufferGetAudioStreamPacketDescriptions(_ sbuf: CMSampleBuffer, _ packetDescriptionsSize: Int, _ packetDescriptionsOut: UnsafeMutablePointer<AudioStreamPacketDescription>?, _ packetDescriptionsSizeNeededOut: UnsafeMutablePointer<Int>?) -> OSStatus

Declaration
From
func CMSampleBufferGetAudioStreamPacketDescriptionsPtr(_ sbuf: CMSampleBuffer, _ packetDescriptionsPtrOut: UnsafeMutablePointer<UnsafePointer<AudioStreamPacketDescription>>, _ packetDescriptionsSizeOut: UnsafeMutablePointer<Int>) -> OSStatus
To
func CMSampleBufferGetAudioStreamPacketDescriptionsPtr(_ sbuf: CMSampleBuffer, _ packetDescriptionsPtrOut: UnsafeMutablePointer<UnsafePointer<AudioStreamPacketDescription>?>?, _ packetDescriptionsSizeOut: UnsafeMutablePointer<Int>?) -> OSStatus

Declaration
From
func CMSampleBufferGetOutputSampleTimingInfoArray(_ sbuf: CMSampleBuffer, _ timingArrayEntries: CMItemCount, _ timingArrayOut: UnsafeMutablePointer<CMSampleTimingInfo>, _ timingArrayEntriesNeededOut: UnsafeMutablePointer<CMItemCount>) -> OSStatus
To
func CMSampleBufferGetOutputSampleTimingInfoArray(_ sbuf: CMSampleBuffer, _ timingArrayEntries: CMItemCount, _ timingArrayOut: UnsafeMutablePointer<CMSampleTimingInfo>?, _ timingArrayEntriesNeededOut: UnsafeMutablePointer<CMItemCount>?) -> OSStatus

Declaration
From
func CMSampleBufferGetSampleSizeArray(_ sbuf: CMSampleBuffer, _ sizeArrayEntries: CMItemCount, _ sizeArrayOut: UnsafeMutablePointer<Int>, _ sizeArrayEntriesNeededOut: UnsafeMutablePointer<CMItemCount>) -> OSStatus
To
func CMSampleBufferGetSampleSizeArray(_ sbuf: CMSampleBuffer, _ sizeArrayEntries: CMItemCount, _ sizeArrayOut: UnsafeMutablePointer<Int>?, _ sizeArrayEntriesNeededOut: UnsafeMutablePointer<CMItemCount>?) -> OSStatus

Declaration
From
func CMSampleBufferGetSampleTimingInfoArray(_ sbuf: CMSampleBuffer, _ timingArrayEntries: CMItemCount, _ timingArrayOut: UnsafeMutablePointer<CMSampleTimingInfo>, _ timingArrayEntriesNeededOut: UnsafeMutablePointer<CMItemCount>) -> OSStatus
To
func CMSampleBufferGetSampleTimingInfoArray(_ sbuf: CMSampleBuffer, _ timingArrayEntries: CMItemCount, _ timingArrayOut: UnsafeMutablePointer<CMSampleTimingInfo>?, _ timingArrayEntriesNeededOut: UnsafeMutablePointer<CMItemCount>?) -> OSStatus

Declaration
From
typealias CMSampleBufferInvalidateCallback = (CMSampleBuffer, UInt64) -> Void
To
typealias CMSampleBufferInvalidateCallback = (CMSampleBuffer, UInt64) -> Swift.Void

Declaration
From
typealias CMSampleBufferInvalidateHandler = (CMSampleBuffer) -> Void
To
typealias CMSampleBufferInvalidateHandler = (CMSampleBuffer) -> Swift.Void

Declaration
From
typealias CMSampleBufferMakeDataReadyCallback = (CMSampleBuffer, UnsafeMutablePointer<Void>) -> OSStatus
To
typealias CMSampleBufferMakeDataReadyCallback = (CMSampleBuffer, UnsafeMutableRawPointer?) -> OSStatus

Declaration
From
func CMSampleBufferSetInvalidateCallback(_ sbuf: CMSampleBuffer, _ invalidateCallback: CMSampleBufferInvalidateCallback, _ invalidateRefCon: UInt64) -> OSStatus
To
func CMSampleBufferSetInvalidateCallback(_ sbuf: CMSampleBuffer, _ invalidateCallback: CoreMedia.CMSampleBufferInvalidateCallback, _ invalidateRefCon: UInt64) -> OSStatus

Declaration
From
func CMSampleBufferSetInvalidateHandler(_ sbuf: CMSampleBuffer, _ invalidateHandler: CMSampleBufferInvalidateHandler) -> OSStatus
To
func CMSampleBufferSetInvalidateHandler(_ sbuf: CMSampleBuffer, _ invalidateHandler: CoreMedia.CMSampleBufferInvalidateHandler) -> OSStatus

Declaration
From
func CMSetAttachment(_ target: CMAttachmentBearer, _ key: CFString, _ value: AnyObject?, _ attachmentMode: CMAttachmentMode)
To
func CMSetAttachment(_ target: CMAttachmentBearer, _ key: CFString, _ value: CFTypeRef?, _ attachmentMode: CMAttachmentMode)

Declaration
From
func CMSimpleQueueDequeue(_ queue: CMSimpleQueue) -> UnsafePointer<Void>
To
func CMSimpleQueueDequeue(_ queue: CMSimpleQueue) -> UnsafeRawPointer?

Declaration
From
func CMSimpleQueueEnqueue(_ queue: CMSimpleQueue, _ element: UnsafePointer<Void>) -> OSStatus
To
func CMSimpleQueueEnqueue(_ queue: CMSimpleQueue, _ element: UnsafeRawPointer) -> OSStatus

Declaration
From
func CMSimpleQueueGetHead(_ queue: CMSimpleQueue) -> UnsafePointer<Void>
To
func CMSimpleQueueGetHead(_ queue: CMSimpleQueue) -> UnsafeRawPointer?

Declaration
From
typealias CMTextFormatDescription = CMFormatDescriptionRef
To
typealias CMTextFormatDescription = CMFormatDescription

Declaration
From
func CMTextFormatDescriptionGetDefaultStyle(_ desc: CMFormatDescription, _ outLocalFontID: UnsafeMutablePointer<UInt16>, _ outBold: UnsafeMutablePointer<DarwinBoolean>, _ outItalic: UnsafeMutablePointer<DarwinBoolean>, _ outUnderline: UnsafeMutablePointer<DarwinBoolean>, _ outFontSize: UnsafeMutablePointer<CGFloat>, _ outColorComponents: UnsafeMutablePointer<CGFloat>) -> OSStatus
To
func CMTextFormatDescriptionGetDefaultStyle(_ desc: CMFormatDescription, _ outLocalFontID: UnsafeMutablePointer<UInt16>?, _ outBold: UnsafeMutablePointer<DarwinBoolean>?, _ outItalic: UnsafeMutablePointer<DarwinBoolean>?, _ outUnderline: UnsafeMutablePointer<DarwinBoolean>?, _ outFontSize: UnsafeMutablePointer<CGFloat>?, _ outColorComponents: UnsafeMutablePointer<CGFloat>!) -> OSStatus

Declaration
From
func CMTextFormatDescriptionGetJustification(_ desc: CMFormatDescription, _ outHorizontalJust: UnsafeMutablePointer<CMTextJustificationValue>, _ outVerticalJust: UnsafeMutablePointer<CMTextJustificationValue>) -> OSStatus
To
func CMTextFormatDescriptionGetJustification(_ desc: CMFormatDescription, _ outHorizontalJust: UnsafeMutablePointer<CMTextJustificationValue>?, _ outVerticalJust: UnsafeMutablePointer<CMTextJustificationValue>?) -> OSStatus

Declaration
From
@warn_unused_result
func CMTIME_HAS_BEEN_ROUNDED(_ time: CMTime) -> Bool
To
func CMTIME_HAS_BEEN_ROUNDED(_ time: CMTime) -> Bool

Declaration
From
@warn_unused_result
func CMTIME_IS_INDEFINITE(_ time: CMTime) -> Bool
To
func CMTIME_IS_INDEFINITE(_ time: CMTime) -> Bool

Declaration
From
@warn_unused_result
func CMTIME_IS_INVALID(_ time: CMTime) -> Bool
To
func CMTIME_IS_INVALID(_ time: CMTime) -> Bool

Declaration
From
@warn_unused_result
func CMTIME_IS_NEGATIVEINFINITY(_ time: CMTime) -> Bool
To
func CMTIME_IS_NEGATIVEINFINITY(_ time: CMTime) -> Bool

Declaration
From
@warn_unused_result
func CMTIME_IS_NUMERIC(_ time: CMTime) -> Bool
To
func CMTIME_IS_NUMERIC(_ time: CMTime) -> Bool

Declaration
From
@warn_unused_result
func CMTIME_IS_POSITIVEINFINITY(_ time: CMTime) -> Bool
To
func CMTIME_IS_POSITIVEINFINITY(_ time: CMTime) -> Bool

Declaration
From
@warn_unused_result
func CMTIME_IS_VALID(_ time: CMTime) -> Bool
To
func CMTIME_IS_VALID(_ time: CMTime) -> Bool

Declaration
From
func CMTimebaseAddTimerDispatchSource(_ timebase: CMTimebase, _ timerSource: dispatch_source_t) -> OSStatus
To
func CMTimebaseAddTimerDispatchSource(_ timebase: CMTimebase, _ timerSource: DispatchSource) -> OSStatus

Declaration
From
func CMTimebaseRemoveTimerDispatchSource(_ timebase: CMTimebase, _ timerSource: dispatch_source_t) -> OSStatus
To
func CMTimebaseRemoveTimerDispatchSource(_ timebase: CMTimebase, _ timerSource: DispatchSource) -> OSStatus

Declaration
From
func CMTimebaseSetTimerDispatchSourceNextFireTime(_ timebase: CMTimebase, _ timerSource: dispatch_source_t, _ fireTime: CMTime, _ flags: UInt32) -> OSStatus
To
func CMTimebaseSetTimerDispatchSourceNextFireTime(_ timebase: CMTimebase, _ timerSource: DispatchSource, _ fireTime: CMTime, _ flags: UInt32) -> OSStatus

Declaration
From
func CMTimebaseSetTimerDispatchSourceToFireImmediately(_ timebase: CMTimebase, _ timerSource: dispatch_source_t) -> OSStatus
To
func CMTimebaseSetTimerDispatchSourceToFireImmediately(_ timebase: CMTimebase, _ timerSource: DispatchSource) -> OSStatus

Declaration
From
typealias CMTimeCodeFormatDescriptionRef = CMTimeCodeFormatDescription
To
typealias CMTimeCodeFormatDescription = CMFormatDescription

Declaration
From
@warn_unused_result
func CMTIMERANGE_IS_EMPTY(_ range: CMTimeRange) -> Bool
To
func CMTIMERANGE_IS_EMPTY(_ range: CMTimeRange) -> Bool

Declaration
From
@warn_unused_result
func CMTIMERANGE_IS_INDEFINITE(_ range: CMTimeRange) -> Bool
To
func CMTIMERANGE_IS_INDEFINITE(_ range: CMTimeRange) -> Bool

Declaration
From
@warn_unused_result
func CMTIMERANGE_IS_INVALID(_ range: CMTimeRange) -> Bool
To
func CMTIMERANGE_IS_INVALID(_ range: CMTimeRange) -> Bool

Declaration
From
@warn_unused_result
func CMTIMERANGE_IS_VALID(_ range: CMTimeRange) -> Bool
To
func CMTIMERANGE_IS_VALID(_ range: CMTimeRange) -> Bool

Declaration
From
typealias CMVideoFormatDescriptionRef = CMVideoFormatDescription
To
typealias CMVideoFormatDescription = CMFormatDescription

Declaration
From
func CMVideoFormatDescriptionGetH264ParameterSetAtIndex(_ videoDesc: CMFormatDescription, _ parameterSetIndex: Int, _ parameterSetPointerOut: UnsafeMutablePointer<UnsafePointer<UInt8>>, _ parameterSetSizeOut: UnsafeMutablePointer<Int>, _ parameterSetCountOut: UnsafeMutablePointer<Int>, _ NALUnitHeaderLengthOut: UnsafeMutablePointer<Int32>) -> OSStatus
To
func CMVideoFormatDescriptionGetH264ParameterSetAtIndex(_ videoDesc: CMFormatDescription, _ parameterSetIndex: Int, _ parameterSetPointerOut: UnsafeMutablePointer<UnsafePointer<UInt8>?>?, _ parameterSetSizeOut: UnsafeMutablePointer<Int>?, _ parameterSetCountOut: UnsafeMutablePointer<Int>?, _ NALUnitHeaderLengthOut: UnsafeMutablePointer<Int32>?) -> OSStatus