Say I have an iPhone iPhone app that takes input from a microphone.
Now, although I have not tried this myself, I believe that the user can use an external microphone that connects to the phonojack jack.
This means that my audio node can receive its input from an internal or external microphone.
I assume that iOS will automatically switch from an external microphone if it is connected.
But what if I don't want this?
Can I indicate which microphone to use?
I looked through the audio session guide, I can find some settings regarding the Bluetooth headset. But it is as close as possible. It seems like this is impossible. But it's hard for me to believe.
PS I also wonder how it detects an external microphone ... if I plug in my headphones, it should continue routing from the internal microphone. my headphones are just stereo headphones. but if I used my headphones for mobile phones (on the extra band on Jack ... they have a microphone built into the cable where separate headphone circuits are found), I would expect him to take this source instead.
source
share