remoteio

Choose between built in mic and headset in iOS

南楼画角 提交于 2019-11-29 11:19:19
We are developing an app that needs to change the audio route in iOS. We need to get some information from the mic input and then change to the internal mic of the device to record ambient sound. We have seen 2 topics from these pages: Forcing iPhone Microphone as Audio Input and Use built-in mic if Headset is plugged in but i guess there isn't any final word according to this situation. Now, the code works but we can select the route of the audio input. We haven't found anything in the documentation provided by Apple (Remote IO). Is there anything new about this? Thanks! Warning : This answer

How to control hardware mic input gain/level on iPhone?

跟風遠走 提交于 2019-11-28 07:47:39
My audio-analysis function responds better on the iPad (2) than the iPhone (4). It seems sensitive to softer sounds on the iPad, whereas the iPhone requires much louder input to respond properly. Whether this is because of mic placement, different components, different software configurations or some other factor, I'd like to be able to control for it in my app. Obviously I could just multiply all of my audio samples to programmatically apply gain. Of course that has a software cost too, so: Is it possible to control the mic's gain from software in iOS, similarly to how it is in MacOS? I can't

Choose between built in mic and headset in iOS

别来无恙 提交于 2019-11-28 04:52:19
问题 We are developing an app that needs to change the audio route in iOS. We need to get some information from the mic input and then change to the internal mic of the device to record ambient sound. We have seen 2 topics from these pages: Forcing iPhone Microphone as Audio Input and Use built-in mic if Headset is plugged in but i guess there isn't any final word according to this situation. Now, the code works but we can select the route of the audio input. We haven't found anything in the