All of lore.kernel.org
 help / color / mirror / Atom feed
* No way to get notified of playback progress
       [not found] <1590961958912374020-webhooks-bot@alsa-project.org>
@ 2020-05-31 21:52 ` GitHub issues - opened
  0 siblings, 0 replies; only message in thread
From: GitHub issues - opened @ 2020-05-31 21:52 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-lib issue #54 was opened from wm4:

See subject. There is a way to run user code in a signal handler with snd_async_add_pcm_handler(). But that seems extremely questionable, is for sure not supported everywhere, and is probably full of subtle synchronization bugs. There is snd_pcm_poll_descriptors() and related, but that seems to signal only whether at least 1 period is available, nothing else. Judging from the docs.

That seems like a rather big missing thing - I probably overlooked something. Otherwise this is a feature request for an asynchronous notification on period boundaries/underruns/device disconnection, that does not run in a UNIX signal handler. Maybe something relatively similar to that poll() mechanism.

Issue URL     : https://github.com/alsa-project/alsa-lib/issues/54
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-05-31 21:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1590961958912374020-webhooks-bot@alsa-project.org>
2020-05-31 21:52 ` No way to get notified of playback progress 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.