Re: [LAD] Looking for an introduction to rt programming with a gui

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Charles Fleche <charles.fleche@...>
Cc: <linux-audio-dev@...>
Date: Thursday, May 20, 2010 - 5:26 pm

On Thu, 20 May 2010, Charles Fleche wrote:

>> well (e.g. if you write LV2 plugins based on Qt, as I have, you may

When I released the Composite Sampler, I had to solve two
tricky bugs:

1. zynjacku's UI would freeze when loading it.
Cause: Glib event loop initialization and PyGtk.
Fix: zynjacku now initializes the Glib event
loop, but this comes with some other
undesirable side-effects.

2. Ingen would crash at exit if you loaded the
Composite plugin, and then unloaded it.
Cause: When Qt initialized thread-local storage,
it made an assumption that QtCore would
only be unloaded at application exit.
Fix: Qt's trunk has a fix to clean up TLS
when the library is unloaded. I don't
think it was backported to older
release branches.[1]

Anyway, Qt is a large framework for cross-platform
application development (and very good at that). So, when
you use its core library (QString, QThread, etc.) in new and
non-standard ways (LV2 plugins) you're liable to find bugs
that violate the assumption: "This is a Qt application."

:-)

hth,
gabriel

[1] http://bugreports.qt.nokia.com/browse/QTBUG-9436
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Looking for an introduction to rt programming with a gui, Nathanael Anderson, (Thu May 20, 1:14 pm)
Re: [LAD] Looking for an introduction to rt programming with..., Gabriel Beddingfield, (Thu May 20, 1:37 pm)
Re: [LAD] Looking for an introduction to rt programming with..., Olivier Guilyardi, (Sun May 23, 9:14 pm)
Re: [LAD] Looking for an introduction to rt programming with..., Jens M Andreasen, (Tue May 25, 12:05 am)
Re: [LAD] Looking for an introduction to rt programming with..., Nathanael Anderson, (Thu May 20, 6:39 pm)
Re: [LAD] Looking for an introduction to rt programming with..., Harry Van Haaren, (Fri May 21, 12:32 am)
Re: [LAD] Looking for an introduction to rt programming with..., Olivier Guilyardi, (Thu May 20, 7:20 pm)
Re: [LAD] Looking for an introduction to rt programming with..., Gabriel M. Beddingfield, (Thu May 20, 5:26 pm)
Re: [LAD] Looking for an introduction to rt programming with..., Gabriel M. Beddingfield, (Thu May 20, 8:09 pm)
Re: [LAD] Looking for an introduction to rt programming with..., Philipp √úberbacher, (Thu May 20, 2:32 pm)
Re: [LAD] Looking for an introduction to rt programming with..., Olivier Guilyardi, (Thu May 20, 4:30 pm)
Re: [LAD] Looking for an introduction to rt programming with..., Olivier Guilyardi, (Fri May 21, 9:52 am)