AnsweredAssumed Answered

HDMI and On-board sound card audio routing issue

Question asked by RAVIKIRAN J J on Nov 16, 2017
Latest reply on Nov 20, 2017 by igorpadykov

Hi All,

 

I am working on the Sbaresd based customized board -  Nougat porting.

In our board we are using sgtl5000 codec.

 

The sgtl5000 sound card is registered in the alsa hal of android.

Able to playback and Capture using tinyplay, tinycap tools respectively.

Able to capture sound using android application from sgtl5000 sound card.

 

But in the android side, by default all playback is routing to the HDMI monitor.

If i disconnect the HDMI connection also, audio is  not able to route to on-board sgtl500 sound card.

 

How to  make switch kind of audio routing in the android ?

Like : If i connect the HDMI , audio should route over HDMI

          Else it should route over the on-board sound card.

 

 

Regards,

Ravikiran J J

Outcomes