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

Jaroslav Kysela perex at perex.cz
Mon May 25 20:09:08 CEST 2009


On Mon, 25 May 2009, Werner Van Belle wrote:

> 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.

Do you call close() for all opened file descriptors associated to 
snd_pcm_t handle in child process?

 					Jaroslav

-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.



More information about the Alsa-devel mailing list