[alsa-devel] dmix in a forked process
Takashi Iwai
tiwai at suse.de
Tue Aug 5 11:53:19 CEST 2008
At Sun, 3 Aug 2008 13:47:34 -0700,
Bankim Bhavsar wrote:
>
> On Sun, Aug 3, 2008 at 11:38 AM, Jaroslav Kysela <perex at perex.cz> wrote:
> > On Sat, 2 Aug 2008, Bankim Bhavsar wrote:
> >
> >> I'm currently porting the sound code of our app from OSS to ALSA but
> >> this problem is preventing me from doing so.
> >> Is there any way to get around this problem?
> >
> > What's your problem with fork()?
>
> If our app is the first to start dmix then a copy of the process (app)
> will remain till
> the last application closes the share device.
Right. At least, its resources remain.
> So our problem is not fork but fork without *exec*.
And what is your problem more exactly?
We may create a small binary to do exec for the dmix server if this
really matters. Or, an easier fix is to use more recent kernels.
Then there is no longer fork for dmix.
Takashi
More information about the Alsa-devel
mailing list