Re: [linux-audio-dev] gtkmeter and threads?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] gtkmeter and threads?
From: Jack O'Quin (joq_AT_io.com)
Date: Sun Oct 31 2004 - 18:59:40 EET


[copying to jamin-devel]

Dan Mills <dmills_AT_spamblock.demon.co.uk> writes:

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

It still does. The problem is intermittent, thus hard to find.

> Does anyone here remember what the cure was, it might give me some hints....

AFAIK, no one has found the bug. I didn't even consider that it might
be related to the meters until I saw your message.

-- 
  joq


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Oct 31 2004 - 19:03:38 EET