On Sat, 8 Feb 2003, Sebastian Kapfer wrote:

> On Sat, 8 Feb 2003 12:50:01 +0100 (CET)
> Jaroslav Kysela <[EMAIL PROTECTED]> wrote:
> 
> > > All of the remaining applications should be
> > > considering what will happen to their resources on
> > > exec(), and I see no reason why careless programmers
> > > should have a few of their bugs swept under the rug
> > > for them.
> > 
> > I fully agree here.
> 
> Can anyone comment on exactly how an alsa-lib client app should make
> sure that exec'd processes don't inherit file handles? I can't find a
> way to know the FD number which alsa-lib uses. snd_pcm_file_descriptor
> is gone. What replaced it?

The applications should use snd_pcm_close() function (or related one 
snd_*_close()). Note that more complex plugins can use more file 
descriptors so the application is not able to enumerate them.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to