Function

CMTimeCopyDescription(allocator:time:)

Creates a CFString with a description of a CMTime ( Similar to CFCopyDescription ).

Declaration

func CMTimeCopyDescription(allocator: CFAllocator?, time: CMTime) -> CFString?

Parameters

allocator

CFAllocator with which to create the description. Pass kCFAllocatorDefault to use the default allocator.

time

CMTime to be described.

Return Value

The created CFString description.

Discussion

This is used from within CFShow on an object that contains CMTime fields. It is also useful from other client debugging code. The caller owns the returned CFString, and is responsible for releasing it.

See Also

Utility Functions

func CMTimeShow(CMTime)

Prints a description of the CMTime (Similar to CFShow(_:)).