iPhone OS Reference Library Apple Developer Connection spyglass button

Version: 2.4

Posted: 2009-09-08

Build Requirements: Mac OS X 10.5.5, Xcode 3.1, iPhone OS 2.2

Runtime Requirements: Mac OS X 10.5.5, iPhone OS 2.2.1

View Source Code:

Download Sample Code (“SpeakHere.zip”, 128.5K)



Description

SpeakHere demonstrates basic use of Audio Queue Services, Audio File Services, and Audio Session Services on the iPhone for recording and playing back audio.

The code in SpeakHere uses Audio File Services to create, record into, and read from a CAF (Core Audio Format) audio file containing uncompressed (PCM) audio data. The application uses Audio Queue Services to manage recording and playback. The application also uses Audio Session Services to manage interruptions (as described in Core Audio Overview).

Document Revision History

Date Notes
2009-09-08Add support for pausing playback when headphones are removed
2009-07-29Fix record format setup
2009-06-17Updated ReadMe
2009-03-30Revised SpeakHere to use queue record and play code from aqTouch sample
2008-11-20New version that demonstrates recording using all iPhone OS supported audio formats.
2008-07-08First public release.
Did this document help you? Yes It's good, but... Not helpful...