Gets the value of an audio file property.
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
The audio file you want to obtain a property value from.
The property whose value you want. See Audio File Properties for possible values.
On input, the size of the buffer passed in the
outparameter. On output, the number of bytes written to the buffer. Use the
Audiofunction to obtain the size of the property value.
File Get Property Info
On output, the value of the property specified in the
A result code. See Result Codes.
Some Core Audio property values are C types and others are Core Foundation objects.
If you call this function to retrieve a value that is a Core Foundation object, then this function—despite the use of “Get” in its name—duplicates the object. You are responsible for releasing the object, as described in The Create Rule in Memory Management Programming Guide for Core Foundation.