Hi all, I found in my Android platform that everytime when I adjust the volume level (i.e. press the volume key +/-), it seems a software volume control scheme is used (Instead, I expect a direct function call to a codec hardware driver, and changing audio gain in corresponding registers).
I found this using the alsa_amixer to list out the volume change in a "Master Volume" element. Here is what I figure out this following the sequence below: 1. After bootup, monitor the current volume level of the "Master Volume" element using the alsa_amixer. The GET value is 255 out of the maximum 255. 2. Playback a song using the Android music player. 3. Adjust the volume level in the Android to see if there is changed in the "Master Volume" status. 4. I found I can hear the change in the headphone audio output, but the "Master Volume" element still keeps the value 255 no matter I changed the volume from the lowest to the highest. I would like to disable this software volume if it is really using and use the hardware. Does anyone have any idea about what is going on in my case? Thanks!!! --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
