[linux-audio-dev] gtkmeter and threads?
Steve Harris
S.W.Harris at ecs.soton.ac.uk
Sun Oct 31 17:13:46 UTC 2004
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.
- Steve
More information about the Linux-audio-dev
mailing list