You aren't adjusting the overall volume level, you are adjusting the volumes of one of the streams being mixed. Typically by default you are adjusting the ringer volume, and if playing media you will be adjusting the media volume.
On Tue, Sep 15, 2009 at 3:10 AM, Andy <[email protected]> wrote: > > 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!!! > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
