Extended Audio File Conversion Test

Last Revision:
Version 1.2.1, 2014-02-21
Updated to support iPhone 5s and software AAC encode with iOS 7.
(Full Revision History)
Build Requirements:
iOS 7.0 SDK
Runtime Requirements:
iOS 5.1 or later

Demonstrates using ExtAudioFile API to convert from one audio format and file type to another.

Four encoding formats may be chosen in the UI along with different sample rates for the produced output.caf file. AAC encoding requires both iOS 3.1 or later and a hardware capable device such as the iPhone 3GS or later. If run on a device which does not support AAC encoding at all, the AAC encoding choice will be dimmed.

Interruption handling during processing is also demonstrated. Hardware assisted encoding requires specific interruption handling since the codec state may change due to the interruption.

All the relevant audio specific code is in the file ExtAudioFileConvert.cpp.