Creates a generic
CMFormat object. You should not call this method for the media types that has specific create functions such as audio, video, text, muxed, metaData and timeCode.
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
- Core Media
Allocator to use when creating the
NULL, the default allocator will be used.
Four character code identifying the type of media associated with the
Four character code identifying the sub-type of media.
Dictionary of extensions to be attached to the
CMFormat. May be
Receives the newly-created
A result code. See “Result Codes”.
Use this call to create any
CMFormat that is composed solely of extensions, and for which
CFEqual() of a the extensions dictionaries is a valid test for Format Description equality.