iPhoneExtAudioFileConvertTest

Last Revision:
Version 1.1, 2010-07-22
Upgraded project to build with the iOS 4.0 SDK.
(Full Revision History)
Build Requirements:
iOS 4.0 SDK
Runtime Requirements:
iOS 3.2 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 iPhone OS 3.1 and a hardware capable device such as the iPhone 3GS. If run on a device which does not support hardware assisted AAC encoding, 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.


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