iPhone Remote IO Issues
<p>I've been playing around with the SDK recently, and I had an idea to just build a personal autotuner (because I am just as awesome as T-Pain).</p>

<p>Intro aside, I wanted to attach a high-quality microphone into the headphone jack, and I wanted my audio to be processed in a callback, and then copied to the output buffer.  This has several implications:</p>

<ol>
<li><p>When my audio-in is being routed through the built-in microphone, I need to be able to process this input, and send it once my input has stopped (this works).</p></li>
<li><p>When my audio-in is being routed through the microphone-in input from the headset jack, I want the output to be sent immediately.</p></li>
</ol>

<p>Routing, however, doesn't seem to work properly when using AudioSession modes and overrides, which technically should allow you to reroute output to the iPhone speakers, no matter where the input is coming from.  This is documented to work, but in practice, doesn't really work.</p>

<p>Remote IO, however, is not documented at all.  Anyone with experience using Remote IO audio units, can you give me a reasonable high-level overview on how to do this properly?  I have been using the aurioTouch example code, but I am running into errors where I get error codes like -50 and -10863, none of which are documented.</p>

<p>Thanks in advance.</p>
