An example on using AVFoundation on iOS devices. This allows a developer to access playing audio and accessing audio data from their application.
Based on Apple's avTouch example: http://developer.apple.com/library/ios/#samplecode/avTouch/Introduction/Intro.html
Miguel de Icaza