AnsweredAssumed Answered

using android w/o HW sound

Question asked by frédéric on Mar 26, 2014
Latest reply on Mar 26, 2014 by Saurabh Patel

We made a spinoff of a Boundary Nitrogen6q board, we removed the SGTL5000 audio codec chip, we also set BOARD_HAS_SGTL5000 := false in the BoardConfig.mk

 

However in Android logcat we see a lot of :

 

W/audio_hw_primary( 2372): card -1, port 0 device 0x2

W/audio_hw_primary( 2372): rate 44100, channel 2 period_size 0xc0

E/audio_hw_primary( 2372): cannot open pcm_out driver 0: cannot open device '/dev/snd/pcmC4294967295D0p': No such file or directory

 

We have a  /dev/snd/pcmC0D0p device, but obviously the 4294967295 is -1 because card in audio_hw_primary is -1.

 

We can connect audio via bluetooth, it works well, and there is no more error in logcat, however we will not always have a BT speaker connected.

 

Do I have to change something in audio_policy.conf ? How to remove this error?

Outcomes