iPhone OS Reference Library Apple Developer Connection spyglass button

Version: 1.7

Posted: 2009-09-11

Build Requirements: iPhone SDK 3.0 or later

Runtime Requirements: iPhone OS 3.0 or later

View Source Code:

Download Sample Code (“oalTouch.zip”, 1.50M)



Description

The code uses OpenAL to play a single audio source. Move source or listener position by dragging icons around on the grid. Turn accelerometer functionality on to set listener orientation by tilting the device.

Document Revision History

Date Notes
2009-09-11remove underscores from variables
2009-08-05Correct source positioning for proper orientation
2009-07-21Update for 3.0
2009-04-21Fix leak of audio data
2008-12-23Use ExtAudioFile API to load IMA4 sound file
2008-11-05removed volume adjustment for source
Did this document help you? Yes It's good, but... Not helpful...