Record and play audio Simultaneously

arunkumar.p picture arunkumar.p · Nov 18, 2010 · Viewed 26.7k times · Source

Any one help to me to record and play audio Simultaneously in Iphone.

Answer

hotpaw2 picture hotpaw2 · Nov 18, 2010

You can play and record simultaneously on iOS devices (except the 1st gen Touch) using either the Audio Unit RemoteIO or the Audio Queue API. These are lower level APIs where you have to handle the incoming buffers of outgoing and incoming PCM samples yourself.

See Apple's aurioTouch sample app for example code.