I have a networked app/service on a stationary Android box that receives audio from a remote handheld device.
I need Android box's voice recognition apps (e.g. Google App) to process this audio. These apps read audio from microphone.
How can I route audio available in my app/service so it appears to be coming in from microphone?
I believe DEVICE_OUT_REMOTE_SUBMIX in AudioSystem has something to do with it, but I cannot find any documentation on this.