Extended Audio File Conversion Test

Last Revision:
Version 5.0, 2016-09-29
Updated to use ARC and remove use of deprecated APIs
(Full Revision History)
Build Requirements:
Xcode 8.0 or later; iOS 10.0 SDK or later
Runtime Requirements:
iOS 10.0 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.