Core Audio
(Legacy)
PDF
Introduction
About Core Audio
Additional Resources
Core Audio Overview
Apple’s Objectives
Introduction to Core Audio
Hardware Abstraction Layer (HAL)
Audio Unit
Audio Codec
Audio Toolbox
MIDI Services
Core Audio Types
Using Core Audio
Audio Data Operations
MIDI Data Operations
Higher Level Audio Operations
Interfacing with Hardware
Audio Codec
Overview of Audio Codec
The ACCodec Class
The ACBaseCodec Class
The ACSimpleCodec Class
Miscellaneous Headers
Audio Codec Reference
Audio Codec Types
Defined Data Types
Data Structures
AudioStreamLoudnessStatistics
AudioCodecPrimeInfo
Audio Codec Constants
Component Identifiers
Quality Settings
Priming Selectors
Output Packet Status Constants
Audio Codec Properties
Base Classes
ACCodec
Construction and Destruction
Property Management
Data Handling
Component Support
ACBaseCodec
Construction and Destruction
Property Management
Data Handling
Format Management
ACSimpleCodec
Construction and Destruction
Data Handling
Audio Codec Result Codes
Audio Toolbox
Overview of the Audio Toolbox
Audio Converter
Audio Format
Audio File
AUGraph
Music Player and Music Sequence
Using the Audio Toolbox
Using Audio Converter
Creating a New Audio Converter
Converting Audio Data
Supplying Data for AudioConverterFillComplexBuffer()
Using Audio Format
Getting Format ID Information
Using Audio File
Acquiring Global File Information
Using AUGraph
Audio Unit Graph State
Setting up an Audio Unit Graph
Modifying an Audio Unit Graph
Closing an Audio Unit Graph
Using Music Player and Music Sequence
Setting Up a Music Sequence
Adding Events to Tracks
Setting Destinations for Sequences and Tracks
Using the Tempo Track
Disposing of Sequences and Tracks
Getting Information about a Sequences and Tracks
Using Music Track Properties
Accessing Events within a Track
Editing a Track
Setting Up a Music Player
Reading in Standard MIDI Files or MIDI Data
Saving MIDI Data
Audio Toolbox Reference
Audio Converter Reference
Audio Converter Types
Defined Data Types
Data Structures
Audio Converter Constants
Converter Quality Settings
Priming Method Selectors
Audio Converter Properties
Audio Converter Functions
AudioConverterNew
AudioConverterDispose
AudioConverterReset
AudioConverterGetPropertyInfo
AudioConverterGetProperty
AudioConverterSetProperty
AudioConverterInputDataProc
AudioConverterFillBuffer
AudioConverterComplexInputDataProc
AudioConverterFillComplexBuffer
Audio Converter Result Codes
Audio Format Reference
Audio Format Types
Defined Data Types
Data Structures
Audio Format Constants
Panning Modes
Coordinate Flags
Audio Format Properties
AudioStreamBasicDescription Properties
AudioChannelLayout Properties
Other Properties
Audio Format Functions
AudioFormatGetPropertyInfo
AudioFormatGetProperty
Audio Format Result Codes
Audio File Reference
Audio File Types
Defined Data Types
Data Structures
Constants
File Types
Audio File Properties
Audio File Properties
Audio File Global Info Properties
Audio File Functions
Data Handling
Property Access
Global Info Access
Audio File Result Codes
AUGraph Reference
AUGraph Types
Defined Data Types
Data Structures
AUGraph Functions
NewAUGraph
DisposeAUGraph
AUGraphNewNode
AUGraphNewNodeSubGraph
AUGraphRemoveNode
AUGraphGetNodeCount
AUGraphGetIndNode
AUGraphGetNodeInfo
AUGraphGetNodeInfoSubGraph
AUGraphIsNodeSubGraph
AUGraphConnectNodeInput
AUGraphDisconnectNodeInput
AUGraphClearConnections
AUGraphGetNumberOfConnections
AUGraphCountNodeConnections
AUGraphGetNodeConnections
AUGraphGetConnectionInfo
AUGraphUpdate
AUGraphOpen
AUGraphClose
AUGraphInitialize
AUGraphUninitialize
AUGraphStart
AUGraphStop
AUGraphIsOpen
AUGraphIsInitialized
AUGraphIsRunning
AUGraphGetCPULoad
AUGraphSetRenderNotification
AUGraphRemoveRenderNotification
AUGraphAddRenderNotify
AUGraphRemoveRenderNotify
AUGraph Result Codes
Music Player and Music Sequence Reference
Music Player and Music Sequence Types
Defined Data Types
Data Structures
Music Player and Music Sequence Constants
Music Events
Other Constants
Music Track Properties
Music Player, Music Sequence, and Music Track Functions
Music Player Functions
Music Sequence Functions
Music Track Setup Functions
Music Track Property Functions
Music Track Event Setup Functions
Music Track Event Editing
Music Track Event Iteration
Music Sequence Callbacks
MusicSequenceUserCallback
Music Player and Music Sequence Result Codes
Audio Units
Overview
The Audio Unit Framework
The Audio Unit API
Audio Unit State
Audio Unit Sources and Destinations
Audio Unit Properties
Audio Unit Parameters
I/O Management
The “Pull” I/O Model
Additional Information
Reference
Constants
Component Types and Subtypes
Render Action Flags
Errors
Parameter Event Types
Component Call Selectors
Audio Unit Properties
Music Device Properties
Output Unit Properties
Various Audio Unit Properties
Offline Unit Properties
Reverb Room-Type Properties
Spatialization Properties
3D Mixer Properties
Render Quality Properties
Panner Mode Properties
Offline Unit Preflight Properties
Scope Properties
Preset Constants
Parameter Unit Constants
Parameter Flags
MIDI Controller Parameters
Bandpass Filter Unit Parameters
AUHipass Unit Parameters
AULowpass Unit Parameters
AUHighShelfFilter Unit Parameters
AULowShelfFilter Unit Parameters
AUParametricEQ Unit Parameters
AUMatrixReverb Unit Parameters
Delay Unit Parameters
AUPeakLimiter Unit Parameters
AUDynamicsProcessor Unit Parameters
AUMultibandCompressor Unit Parameters
AUVarispeed Unit Parameters
3DMixer Unit Parameters
StereoMixer Unit Parameters
MatrixMixer Parameters
Output Unit Parameters
DLSMusicDevice Parameters
Types
Structures
AudioUnitParameter
AudioUnitProperty
AudioUnitParameterEvent
AudioUnitConnection
AURenderCallbackStruct
AudioUnitExternalBuffer
AUChannelInfo
AUPreset
HostCallbackInfo
AudioUnitCocoaViewInfo
AudioUnitParameterValueName
AudioUnitParameterNameInfo
AudioUnitParameterInfo
AudioUnitMIDIControlMapping
AudioOutputUnitStartAtTimeParam
Functions
AudioUnitInitialize
AudioUnitUninitialize
AudioUnitRender
AudioUnitReset
AudioUnitGetPropertyInfo
AudioUnitGetProperty
AudioUnitSetProperty
AudioUnitAddPropertyListener
AudioUnitRemovePropertyListener
AudioUnitAddRenderNotify
AudioUnitRemoveRenderNotify
AudioUnitGetParameter
AudioUnitSetParameter
AudioUnitScheduleParameters
Callbacks
AURenderCallback
AudioUnitPropertyListenerProc
AudioUnitGetParameterProc
AudioUnitSetParameterProc
AudioUnitRenderProc
HostCallback_GetBeatAndTempo
HostCallback_GetBeatAndTempo
HostCallback_GetBeatAndTempo
Core Audio Types Reference
Audio Value Structures
AudioValueRange
AudioValueTranslation
Audio Buffer Structures
AudioBuffer
AudioBufferList
Audio Stream Basic Description
AudioStreamBasicDescription
Format IDs
Format Flags
Audio Stream Packet Description
AudioStreamPacketDescription
SMPTE Time
SMPTETime
SMPTE Types
SMPTE Time Stamps
Audio Time Stamp
AudioTimeStamp
Time Stamp Flags
Audio Channel Layouts
AudioChannelDescription
AudioChannelLayout
Defined Data Types
Channel Labels
Channel Bitmaps
Channel Flags
Channel Coordinates
Channel Layout Tags
Revision History