All of lore.kernel.org
 help / color / mirror / Atom feed
* DOC or BUG: plugins dsnoop, dmix and dshare change mode parameter of  snd_pcm_open_slave
       [not found] <1603714459620129108-webhooks-bot@alsa-project.org>
@ 2020-10-26 12:14 ` GitHub issues - opened
  0 siblings, 0 replies; only message in thread
From: GitHub issues - opened @ 2020-10-26 12:14 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-lib issue #92 was opened from RonaldAJ:

Using the dsnoop plugin sets the mode to non-blocking in alsa-lib/src/pcm/pcm_dsnoop.c:

    ret = snd_pcm_open_slave(&spcm, root, sconf, stream,
                             mode | SND_PCM_NONBLOCK |
                             SND_PCM_APPEND,
                             NULL);
Judging from the code the same applies for dmix, dshare. 

It took me a considerable amount of time to figure this out using the source code. So it would be nice if this behaviour where documented.

Personally I would prefer the code to throw an error message, when using blocking mode with these plugins. But I don't know how that ties in with the overall design.

Issue URL     : https://github.com/alsa-project/alsa-lib/issues/92
Repository URL: https://github.com/alsa-project/alsa-lib

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-26 12:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1603714459620129108-webhooks-bot@alsa-project.org>
2020-10-26 12:14 ` DOC or BUG: plugins dsnoop, dmix and dshare change mode parameter of snd_pcm_open_slave GitHub issues - opened

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.