HAL Layer configuration for sgtl5000 on Android Kitkat

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HAL Layer configuration for sgtl5000 on Android Kitkat

ソリューションへジャンプ
2,113件の閲覧回数
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,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 件の賞賛
返信
5 返答(返信)
1,595件の閲覧回数
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,594件の閲覧回数
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,594件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

one can try suggestions in sect.7.4 attached document

~igor

0 件の賞賛
返信
1,593件の閲覧回数
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,594件の閲覧回数
aasheesh
Contributor I

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

0 件の賞賛
返信