All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Stuffed Crust <pizza@shaftnet.org>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Selectable async notification signal?
Date: Thu, 11 Apr 2002 18:23:13 +0200	[thread overview]
Message-ID: <s5hzo0ajjbi.wl@alsa2.suse.de> (raw)
In-Reply-To: <20020407234548.A14312@shaftnet.org>

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

  reply	other threads:[~2002-04-11 16:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-08  3:45 Selectable async notification signal? Stuffed Crust
2002-04-11 16:23 ` Takashi Iwai [this message]
2002-04-11 16:41   ` Paul Davis
2002-04-11 18:02   ` Stuffed Crust

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hzo0ajjbi.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=pizza@shaftnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.