This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Audio's volume is very low in beagleboard-xm on adroid 2.3.4

Hello everyone,

We could playback the audio file, but the volume is very low even we setted it as max volume in settings->sound, could anyone tell me how I can make it more higher?

The kernel version is 2.3.32.

The android system version is 2.3.4.

 

Thanks.

Yanbin Yue

  • Hi Yanbin,

    The default volume setting for alsa mixer is -6dB in android-2.3.4. So please check following command on prompt:

    >> alsa_amixer get "Digital"

    This would be set to value 1 (i.e. -6 dB). Hence, we need to set to 6 dB by using following command on the prompt:

    >> alsa_amixer set "Digital" 3

    I hope this should resolve the issue of audio volume low.

     

    Regards,
    Goutam

  • Hello Goutam

    When I run the command I get following result:

    # alsa_amixer get "Digital"
    amixer: Unable to find simple control 'Digital',0

     

    How can I add the control "Digital"? I add all the control information to the attachment.

     

    Thanks,

    Yanbin Yue

  • Can you check if changing the 'Headset' control to 2 or 3 increases the audio volume?

    Currently it seems to be set to 1.

  • Hi Vishveshwar

    When we set the 'Headset' to 2 or 3, the audio volume will be increased, and set the 'DAC2 Digital Fine Playback Volume' will get louder sound.

    We have new problem, when we restart the system, the value will be reset.

    Could you tell me how we can store the set in the system, or which file the init 'Headset' and 'DAC2 Digital Fine Playback Volume' value code in?

     

    Thanks very much.

    Yanbin Yue

  • Glad to know this worked.

     

    To make this a permanent setting yo will need to edit the following file in Android DevKit sources: hardware/ti/omap3/modules/alsa/alsa_module.cpp

    The settings are to be done in the function void setDefaultControls(). You can see how the current settings are done and add your settings accordingly.

    After this you need to recompile this to regenerate alsa.omap3.so file and copy it to your sdcard. The build output will tell you which location it is to be copied..

     

  • Hello Vishveshwar

    It's very perfect to slove the problem.

    Thanks very much,

    Yanbin Yue