HAL Layer configuration for sgtl5000 on Android Kitkat

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HAL Layer configuration for sgtl5000 on Android Kitkat

Jump to solution
2,114 Views
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.

Labels (2)
0 Kudos
Reply
1 Solution
1,595 Views
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!

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

View solution in original post

0 Kudos
Reply
5 Replies
1,596 Views
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 Kudos
Reply
1,595 Views
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 Kudos
Reply
1,595 Views
igorpadykov
NXP Employee
NXP Employee

one can try suggestions in sect.7.4 attached document

~igor

0 Kudos
Reply
1,594 Views
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 Kudos
Reply
1,595 Views
aasheesh
Contributor I

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

0 Kudos
Reply