NOTE: This document focusses around the macOS/OSX platform.
Core Audio is a set of frameworks that Apple provides to manage audio needs on macOS, iOS, WatchOS etc. The set can be categorized into three API layers, each seperated by the “highness” of the abstraction that they provide. Core Audio includes:
High-Level Services
- AVAudioPlayer – Objective-C interface for playing, looping, rewinding and fast-forwarding audio
- Audio Queue Services – record, play, pause, loop and synchronize audio
- Extended Audio File Services – uses Audio File Services and Audio Converter services to provide a simplified interface to read and write both compressed and uncompressed audio files
- OpenAL – Core Audio implementation of the OpenAL positional audio API
Mid-Level Services
- Audio Converter Services – provide audio data format converter functions
- Audio File Services – reading and writing audio data from disk-based files
- Audio Unit Services – for work with AU plugins
- Audio Processing Graph Services – for work with AU plugins
- Core Audio Clock Services – audio and MIDI synchronization and time-based conversions
- Audio File Stream Services – parse streams that come over a network connection
- Audio Format Services – manage audio data formats
Low-Level Services
- I/O Kit – interacts with drivers
- AudioHAL – device-independent, driver-independent interface to hardware
- Host Time Services – provides access to the computer’s clock
- CoreMIDI – provides software abstractions for MIDI streams and devices