How to route audio for other apps
<p>I have a networked app/service on a stationary Android box that receives audio from a remote handheld device.</p>

<p>I need Android box's voice recognition apps (e.g. Google App) to process this audio. These apps read audio from microphone.</p>

<p>How can I route audio available in my app/service so it appears to be coming in from microphone?</p>

<p>I believe DEVICE_OUT_REMOTE_SUBMIX in AudioSystem has something to do with it, but I cannot find any documentation on this.</p>