iOS External Microphone
Hello, Unity people.
I'm trying to play in-scene audio streamed from an external microphone connected to an iOS device. Nothing fancy, no blow detection, no voice control. Really just play what's heard.
I use Microphone.devices for this. With or without the external microphone plugged in it always lists the only entry "iPhone audio input".
The problem is it apparently doesn't list the external microphone. When hearing the audio with or without the external mic the result is the same. And it would almost guaranteed to be better, should the external (very good and expensive directional) mic be plugged in.
Is there any XCode setting or line of code that's missing in order for Unity iOS build to recognise an external mic instead of the integrated one?
Thanks in advance!
Answer by stepan-stulov · Jul 25, 2016 at 02:36 PM
Solved this. Ironically the problem was hardware, not software. It appeared mic's audio jack was 3 pin while what I needed for the iDevice to recognise is is 4 pin. Thus an audio adapter like on the picture does the trick. Hope it helps anyone with the same problem.
Your answer
![](https://koobas.hobune.stream/wayback/20220612085248im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
iOS force speakers when recording 0 Answers
spectrum of microphone 0 Answers
Problem with MIC process for Windows Store platform 0 Answers
How do I make my character jump by making a sound into my phone mic? (Using C#) 0 Answers
Why do the Prepare OS for Recording option and OpenMic Disable bluetooth audio playback. 1 Answer