Re: [linux-audio-dev] LADSPA GUI [was: New LADSPA Version - Issues Resolved?]

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

Subject: Re: [linux-audio-dev] LADSPA GUI [was: New LADSPA Version - Issues Resolved?]
From: Richard Guenther (richard.guenther_AT_student.uni-tuebingen.de)
Date: pe maalis 10 2000 - 04:54:42 EST


On Thu, 9 Mar 2000, maarten de boer wrote:

> > I think this is an exceptionally bad idea. the vstGUI model is all
> > wrong. The only way that a host might conceivably get involved with
> > providing a GUI to a plugin is to give it a handle to either an
> > XWindow, or if the host was toolkit-specific, some toolkit specific
>
> On the other hand, providing a basic set GUI functions has also
> some advantages
> - unified look & feel
> - memory footage
> - compatibility issues (and possible crossplatformness)
>
> But of course, I want to use FLTK, you want to use Gtk--, somebody
> want to use Qt, etc. I guess you're right. Your proposed approach
> will at least avoid another GUI war :-)
>
> > widget. GTK has a fairly nice "GtkSocket/GtkPlug" pair of widgets just
> > for this kind of purpose. Sharing a connection to an X host makes a
> > little bit of sense (though actually, not much, because very few X
> > servers are truly MT-safe, and the GUI code does not and *cannot* be
> > allowed to run in the host thread).
>
> I don't understand this very well.
> Don't you mean in the plugin thread?
>
> Anyway, there should be a seperate GUI thread, that's for sure.
> So, how would an osciloscope plugin work? This is how I would
> do it. The osciloscope copies it's input into a circular buffer
> that is big enough so that writing in it (copy from input)
> will not interfear with reading from it (displaying it). The
> graphical stuff is called periodically from the gui thread, and
> that's it. Does that seem the correct approach?

No. The GUI thread just mimics another plugin with an input port to which
an extra output port from an oscilloscope can be connected. I.e. the GUI
is a (complex) plugin itself and can be integrated within the network.
Just KISS.

Richard.


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

This archive was generated by hypermail 2b28 : su maalis 12 2000 - 09:14:06 EST