Re: [linux-audio-dev] Daemon mode

From: David <dplist@email-addr-hidden>
Date: Sat Dec 16 2006 - 15:29:12 EET

On Sat, 16 Dec 2006 17:56:23 +0700
Patrick Shirkey <pshirkey@email-addr-hidden> wrote:

> Hi,
>
> I am adding a Daemon mode to jackEQ and have most of the code in
> place now.
>
> I am stuck at the point where the daemon starts up and keeps going.
>
> Essentially I need the daemon mode equivalent of gtk_main() that
> keeps ticking over until the app is told to stop or otherwise
> shutdown.

I think you could use a Glib main loop :

http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.html

HTH

-- 
David
Received on Sat Dec 16 16:15:03 2006

This archive was generated by hypermail 2.1.8 : Sat Dec 16 2006 - 16:15:04 EET