HAL Layer configuration for sgtl5000 on Android Kitkat

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

HAL Layer configuration for sgtl5000 on Android Kitkat

跳至解决方案
2,112 次查看
aasheesh
Contributor I

I am porting Android kitkat on a custom board based on i.MX SabreSD.My board uses sgtl5000 audio codec.The kernel configuration is done and codec is also detected.I am able to play wav files through tinyplay and able to hear sound through headphones.But when i play any video or audio through android gui NO Audio output.Can anyone help with the HAL Layer configuration of sgtl5000 on Android kitkat.

标签 (2)
0 项奖励
回复
1 解答
1,593 次查看
igorpadykov
NXP Employee
NXP Employee

HI aasheesh

for android configuration for sgtl5000 audio codec one can look at boundary devices

releases, these boards have sgtl5000

http://boundarydevices.com/android-kitkat-4-4-3-ga-release-for-i-mx6-boards/

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,594 次查看
igorpadykov
NXP Employee
NXP Employee

HI aasheesh

for android configuration for sgtl5000 audio codec one can look at boundary devices

releases, these boards have sgtl5000

http://boundarydevices.com/android-kitkat-4-4-3-ga-release-for-i-mx6-boards/

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,593 次查看
aasheesh
Contributor I

Now, i have 2 audio cards registered i.e card0 sgtl5000 and card1 imx hdmi soc.While audio recording is working fine,audio output is coming through speakers via HDMI,there is no audio on headphones or speaker via SGTL5000.how do i force HAL to use sgtl5000 audio by default instead of hdmi audio? or how can i select card0 instead of card1?

0 项奖励
回复
1,593 次查看
igorpadykov
NXP Employee
NXP Employee

one can try suggestions in sect.7.4 attached document

~igor

0 项奖励
回复
1,592 次查看
aasheesh
Contributor I

Hi Igor,

          Thanks for your prompt reply.I am working on Android kitkat and the guide you have mentioned uses pulseaudio utils.Android kitkat doesn't have pulse audio support by default.Are you suggesting i should add pulse audio to android kitkat? i just want my software to give audio output on sgtl5000 instead of hdmi.

0 项奖励
回复
1,593 次查看
aasheesh
Contributor I

Thank you for your prompt reply.i will lwt u know once i resolve it,

0 项奖励
回复