Returns a read-only pointer to (and size of) the magic cookie inside an audio
- iOS 4.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 6.0+Beta
- Core Media
Pointer to variable that will be written with the size of the cookie. Can be
A read-only pointer to the magic cookie inside the audio format description.
The magic cookie is a completely opaque piece of data, written and read only by the codec itself. A magic cookie is only present for codecs that require it; this API will return
NULL if one does not exist. This API is specific to audio format descriptions, and will return
NULL if called with a non-audio format description.