speakerphone mic gain problem
After getting complaints that people can't hear me when I am on speakerphone I found out that if you enable speakerphone the mic does not get more sensitive. (Normally android has to enable more mic gain when speakerphone is enabled) Mic gain levels are the same when normal talking, and in speakerphone mode. (I am talking about what volume the remote party hears your voice.
I tried deleting htcleo.adcb in /etc/firmware (which forces android to use default.acdb instead) now the mic is too sensitive in normal and speakerphone mode.
WITH htcleo.acdb present mic gain is normal in both normal and speakerphone mode.
WITHOUT htcleo.acdb present mic gain high in both normal and speakerphone mode.
But actually mic gain has to be low in normal mode and high in speakerphone mode. This has to be fixed because you either can't use speakerphone or you get too much backgorund noise and people complain.
I tried with a samsung native android phone and mic gain gets higher (mic gets more sensitive) when speakerphone is enabled. This is not about the speaker on your phone. It is about the microphone in your phone and its gain adjustment by android.
Thanks.
Here is how I test: I call another phone which I hold to my ear with my hd2. I mute mic of the phone in my ear and put hd2 on the table. I talk or have some audio in the background such as tv. I turn speakerphone on the hd2 on and off and see if what I hear on the other phone on my ear get higher or not. OR you can call someone and ask them of course
libaudio.so of this thread works on typhoon 3.0.0 BUT
I asked if a new libaudio be useful for fixing this problem and it seems not. A new slightly modified htcleo.acdb or maybe some kernel code is needed.