At Sun, 7 Apr 2002 23:45:48 -0400,
Stuffed Crust wrote:
> 
> How painful would it be to add an API call to set the async notification
> signal to be something other than SIGIO?
 
from alsa-lib/src/pcm.c:

/**
 * \brief set async mode
 * \param pcm PCM handle
 * \param sig Signal to raise: < 0 disable, 0 default (SIGIO)
 * \param pid Process ID to signal: 0 current
 * \return 0 on success otherwise a negative error code
 *
 * A signal is raised every period.
 */
int snd_pcm_async(snd_pcm_t *pcm, int sig, pid_t pid)

.. so you can pass your favorite signal to the 2nd argument.

or do i misunderstand your question?


Takashi

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to