Hi Android developers
I ported android 2.3 on dm365evm, am equipped with all the services(internet,video,usb keyboard) except audio.
ISSUE1: I am unable to play any format audio files on dm365evm.
FYI : I had compiled the kernel 2.3.32 by enabling all sound driver and codec support related to dm365evm , and even i am getting this below messages while kernel loading
------------------------------------------------------------------
ALSA: Restoring mixer settings...
asoc: tlv320aic3x <-> davinci-i2s mapping okALSA device list: #0: DaVinci EVM (tlv320aic3x)
----------------------------------------------------------------
Also , if i boot my uImage with the linux RFS , then i am able to get play the audio file by using aplay <file>.
But only when i boot same Uiamge with the android RFS(gingerbread), then m not able to hear any audio.
QUERY1: Is their anything which ineed to add support from the driver side?
can anyone help me on this ?
THANKS AND REGARDS
ROHIT Y SHANBHAG
BANGALORE
You may wish to keep the default volume in alsa HAL to maximum (or close to it).
AFAIK, currently the android volume controls are not fully linked to alsa volume controls
--------------------------------------------------------------------------------------------------------- Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------
HI arun ,
Waiting for the reply arun ! , on how to make sound loud in dm365 android !
Hi Rohit,
Are you getting the same volume when you are doing "alsa_aplay" ?
There must be some volume controls present in amixer. You need to set your amixer volume controls to maximum to get the loudest volume in alsa_aplay.
Once you identify the right controls you can set the same in alsa_module.cpp.
Regards,
Arun
If this post answers your query, consider clicking the Verify Answer button.
Hi arun
THANKS FOR YOUR REPLY .
the maximum playback limit is 0-127 on setting
alsa_amixer set PCM 127
and also it showing the maximum sound playback limit is 0-127.
MY QUERY : so Is 127 is my maximum playback limit on dm365 ? or can i increase it somewhere in the code ? if so ,then where ?
Are you able to hear the audio loud (alsa_aplay) when you set your volume to maximum?
If so, you set the same control in alsa_module.cpp.
If volume is not being changed when setting the amixer control, then it is not the right control for volume. Please check with the audio driver developer.
Yes i can hear audio variance once i set the PCM value fro 0-127 using alsa_amixer.
Well, for 127 , i am getting the maximum loudeness in audio.
Yes i am modified the code alsa_module.cpp and building the source , will reply you about this in my immediate next post.
Hi Arun ,
Thanks for the reply on audio codec ISSUE !
Well now audio is playing much louder than before . but 127 i sthe maximum for dm365 :)