From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Selectable async notification signal? Date: Thu, 11 Apr 2002 18:23:13 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20020407234548.A14312@shaftnet.org> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20020407234548.A14312@shaftnet.org> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Stuffed Crust Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.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