Re: Issus with libasound2
Samuel Thibault, on Wed 10 Aug 2016 19:39:08 +0200, wrote:
> Samuel Thibault, on Wed 10 Aug 2016 18:48:40 +0200, wrote:
> > > I don't know what a solution might be and how it is best to tackle this issue,
> >
> > Well, at least report it to the people in charge, i.e. submit a bug
> > against the libasound2 package :)
>
> And please also notify us when you are done.
You could try the attached alsa-lib patch
You could also try to run with
export LIBASOUND_THREAD_SAFE=1
as well as try to run with
export LIBASOUND_THREAD_SAFE=0
as it seems they played oddly with thread safety in 1.1.2.
Samuel
--- ./src/pcm/pcm.c.orig 2016-08-10 19:39:59.881564371 +0200
+++ ./src/pcm/pcm.c 2016-08-10 19:40:04.211539997 +0200
@@ -2544,6 +2544,7 @@
pcm->fast_op_arg = pcm;
INIT_LIST_HEAD(&pcm->async_handlers);
#ifdef THREAD_SAFE_API
+ pcm->thread_safe = 1;
pthread_mutex_init(&pcm->lock, NULL);
{
static int default_thread_safe = -1;
Reply to: