Re: dmix in a forked process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Sun, 3 Aug 2008 13:47:34 -0700,
Bankim Bhavsar wrote:
> 
> On Sun, Aug 3, 2008 at 11:38 AM, Jaroslav Kysela <perex@xxxxxxxx> 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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux