[PATCH alsa-lib v2 0/2] Make dmix lockless operation optional

Takashi Iwai tiwai at suse.de
Tue Jun 23 17:49:29 CEST 2020


Hi,

this is a revised patch set for the PCM dmix, to make the lockless
operation optional and fix the semaphore usage in the lockless mode.

Unfortunately I got a server problem in the last week and lost many
posts during the weekend, so I couldn't follow up to the thread (I
just read from the lore archive).

In this patch set, to make my intention clearer, I swapped the
patches: the first to disable the lockless operation as default and
the second to fix the semaphore usage in the lockless mode.

In the first patch, the magic number is changed as Jaroslav suggested,
and the description has been updated.  The second patch is equivalent
with the previous one.


thanks,

Takashi

===

Takashi Iwai (2):
  pcm: dmix: make lockless operation optional
  pcm: dmix: Fix semaphore usage with lockless operation

 configure.ac               | 13 +++++++++++++
 src/pcm/pcm_direct.c       | 16 +++++++++++++---
 src/pcm/pcm_direct.h       |  1 +
 src/pcm/pcm_dmix.c         | 18 +++++++++++-------
 src/pcm/pcm_dmix_generic.c |  2 +-
 src/pcm/pcm_dmix_i386.c    |  1 +
 src/pcm/pcm_dmix_x86_64.c  |  1 +
 7 files changed, 41 insertions(+), 11 deletions(-)

-- 
2.16.4



More information about the Alsa-devel mailing list