How can I redirect the mic input to the speaker output on an iOS device? I know it feedbacks overtime, but how can I do it in code?
See aurioTouch sample from Apple. That does exactly what you want.
I.e. it plays the input directly out as it comes in.