Extended Audio File Services


Extended Audio File Services provides simplified audio file access, combining features of Audio File Services and Audio Converter Services. It provides a unified interface for reading and writing compressed as well as linear PCM audio files.


Managing Extended Audio File Objects

func ExtAudioFileDispose(ExtAudioFileRef) -> OSStatus

Disposes of an extended audio file object and closes the associated file.

func ExtAudioFileOpenURL(CFURL, UnsafeMutablePointer<ExtAudioFileRef?>) -> OSStatus

Opens an existing audio file for reading, and associates it with a new extended audio file object.

Reading and Writing Audio Data

Data Types

typealias ExtAudioFileRef

An opaque structure representing an extended audio file object.

typealias ExtAudioFilePropertyID

An audio file object property identifier.

Result Codes