set LIBASOUND_THREAD_SAFE=0 for 4a 37/16437/1
authorThierry Bultel <thierry.bultel@iot.bzh>
Fri, 31 Aug 2018 14:45:44 +0000 (16:45 +0200)
committerThierry Bultel <thierry.bultel@iot.bzh>
Fri, 31 Aug 2018 14:45:44 +0000 (16:45 +0200)
commit55280f24554e4036dfedf764809d53f87bd5126e
treed4b210bfcece7cf813bdb93f00481daacc0aa8e1
parenta1ed468b66b3e93c850138c835458691847f38e1
set LIBASOUND_THREAD_SAFE=0 for 4a

Since the integration of bluez-alsa support in softmixer,
and as warned by the readme of bluez-alsa, there are potential
(and effective !) deadlocks in libasound. These deadlocks come
especially when uing ioplug PCMs.
This hack disables the calls to snd_pcm_lock/unlock in libasound.

Notice that the design that consists in using such PCM plugs
for communicating with the bluealsa daemon is just a short term
solution. When the direct support of bluezalsa communication
is integrated in the softmixer, that hack should be removed.

Change-Id: Ib6376fd2e145b3240ab1a68b9c760ff9e4c063c4
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb