[linux-audio-dev] gtkmeter and threads?

Robert Jonsson rj at spamatica.se
Sun Oct 31 17:30:27 UTC 2004

söndagen den 31 oktober 2004 18.13 skrev Steve Harris:
> On Sun, Oct 31, 2004 at 04:42:06 +0000, Dan Mills wrote:
> > Hi all,
> > I am working on a project that makes very heavy use of the gtkmeter code
> > (borrowed from JAMIN), and seem to have a hard to track down problem....
> >
> > I am using jack so there are a few threads involved and the meters are
> > updated from a g_timeout_add timer callback, the update_meters function
> > is protected by gdk_threads_enter/leave. The problem is that in spite of
> > this I still sometimes get the GUI locking up. There are no locks shared
> > between the GUI and the DSP code and when this happens the DSP continues
> > to run just fine.
> >
> > I remember a CVS version of JAMIN used to do something similar?
> Yeah, it still does AFAIK. I never tracked it down, but didnt put too much
> effort into it.
> It only happens if jack is not running in realtime mode.

Hmmm, I get sporadic GUI lockups when Jack is running realtime.


> - Steve


More information about the Linux-audio-dev mailing list