[alsa-devel] Third time: Unlink PCM resource ?

Takashi Iwai tiwai at suse.de
Mon May 25 20:18:31 CEST 2009


At Mon, 25 May 2009 19:52:47 +0200,
Werner Van Belle wrote:
> 
> > But, in general, sharing the same DSP device among different processes
> > don't sound like a good idea...
> >   
> 
> I agree, but when one forks off a child the parent pcm handle
> automatically passes to the child. If there is a possibility _not_ to
> pass the PCM handle to the forked process then I would be quite happy as
> well.

You can control it via fcntl().  See fcntl(2) man page.


Takashi


More information about the Alsa-devel mailing list