iOS Reference Library Apple Developer
Search

Introduction

Core Audio provides software interfaces for implementing audio features in applications you create for iOS and Mac OS X. Under the hood, it handles all aspects of audio on each of these platforms. In iOS, Core Audio capabilities include recording, playback, sound effects, positioning, format conversion, and file stream parsing, as well as:

In Mac OS X—for desktop and notebook computers—Core Audio encompasses recording, editing, playback, compression and decompression, MIDI, signal processing, file stream parsing, and audio synthesis. You can use it to write standalone applications or modular effects and codec plug-ins that work with existing products.

Core Audio combines C and Objective-C programming interfaces with tight system integration, resulting in a flexible programming environment that maintains low latency through the signal chain. In iOS, you use Core Audio within Cocoa Touch applications, which are based on the Objective-C language. In Mac OS X you can use Core Audio interfaces within a C, Objective-C, or C++ application.

Core Audio is available in all versions of Mac OS X, although older versions may not contain some features described here. Core Audio is available in iOS starting with version 2.0. This document describes Core Audio features available as of iOS 2.2 and Mac OS X v10.5.

Note: Core Audio does not provide direct support for audio digital rights management (DRM). If you need DRM support for audio files, you must implement it yourself.

Core Audio Overview is for all developers interested in creating audio software for iPhone, iPod touch, or computers running Mac OS X. Before reading this document you should have basic knowledge of general audio, digital audio, and MIDI terminology. You will also do well to have some familiarity with object-oriented programming concepts and with Apple’s development environment, Xcode. If you are developing for iOS-based devices, you should be familiar with Cocoa Touch development as introduced in iOS Application Programming Guide.

Organization of This Document

This document is organized into the following chapters:

This document also contains four appendixes:

See Also

For more detailed information about audio and Core Audio, see the following resources:




Last updated: 2008-11-13

Did this document help you? Yes It's good, but... Not helpful...