views:

109

answers:

1

Hello, I would like to know if it's possible to disable the noise reduction microphone via code.

My app plays background music that gets trim off because of this new mic. So i would like to have the background noise mic disabled while my app is open and running.

Thank you

A: 

Look in Apple's Audio Unit Properties Reference document for the kAUVoiceIOProperty_BypassVoiceProcessing and kAUVoiceIOProperty_VoiceProcessingEnableAGC properties, and how to configure and/or change them.

hotpaw2
thank you, I found AudioUnit a bit complex to handle. Do you have something easier I can start with? I'm starting from here http://developer.apple.com/library/ios/#documentation/MusicAudio/Conceptual/AudioUnitHostingGuide_iOS/Introduction/Introduction.html
sosergio