Hi, Dear developers

I encountered a hang issue when I use ALSA together with a2dpd.

 

Environment:

Setup Bluetooth-alsa environment (including .asoundrc, .a2dprc), so that
Bluetooth earphone works

 

Symptom: 

Occasionally(about 15% percentage), after finished playback one song,
then I open another song, this time I can't hear music and finally hang.


This issue does not always happen, sometimes even I finished playback
almost 10 songs, this issue didn't happen, sometimes after played 5
songs, issue happened.

 

Some investigation I did:

1.       I could locate the code where causes the hang. It is an ALSA
API snd_pcm_prepare which is located at CAudioOutLinuxAlsa::_Reset(). 

2.       firstly I doubted root cause may be at alsa or a2dpd layer,
then I downloaded and built out alsaplayer, it turns out alsaplayer does
not have this issue. 

3.       I also tried change alsa configure file and make audio direct
to normal audio out rather than a2dpd, then this issue does not happen.

 

Could anybody tell what may cause this issue?

Thanks a lot!

 

Best Regards, Zheng, Huan(ZBT)

OTC/SSD/SSG

Intel Aisa-Pacific Research & Developement Ltd

Tel: 021-6116 6435

Inet: 8821 6435

Cub: 3W035

 

_______________________________________________
Audio-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/audio-dev

Reply via email to