Is there a way to use a private iOS API to access the raw input from the noise canceling mic(s) on the iPhone?
I've tried looking through header dumps I found online but couldn't find anything related to the secondary microphones.
Is there a way to use a private iOS API to access the raw input from the noise canceling mic(s) on the iPhone?
I've tried looking through header dumps I found online but couldn't find anything related to the secondary microphones.
1) One interesting thing which I found on this subject is
./System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
It has some class called AUMultiMicNoiseSuppressor
.
2) Make sure that you have the newest header dumps, because a lot of online dumps are for iOS 3.0 (which is outdate)
3) I would recommend to look through frameworks, choose promising and run them through a disassembler. Header dumps usually are dumped with class-dump-z, which dumps only Objective-C API and doesn't dump and C API. It could be that API which you are looking for is C API.
Have you find the solution to access multiple microphone simultaneously? I'm working on a project just as you mentioned. What I know by far is a record using the build-in microphones doing stereo recording.
https://audioboo.fm/boos/1102187-recording-in-stereo-from-the-iphone-5#t=0m20s
And it is pretty easy on Android. using the Record Class, there are two channels recording the sound from bottom microphone and top microphone (note 3).