Re: Removing global variables



On Wed, Nov 26, 2014 at 2:46 PM, Bernhard Schuster
<schuster bernhard gmail com> wrote:
"VST like plugins" - elaborate please.

I am sure one can handle pretty much anything using g_main_context fun, but
please provide more information on what you want to achieve exactly.

A VST plugin is a virtual instrument or effect. It is used to produce
music. (I make it short).
The common architecture is that you have an Host, like Ableton,
Bitwig, Ardour, Qtractor, Cubase, Renoise, ... each of them use
differents UI so you cannot assume that the host has initialized gtk
for you. Also the host loads the plugins which have to display a
custom UI. Imagine it like:

 plugin->show_ui(plugin);

So the plugin has to initialize its UI toolkit and render it. But as
all the plugins are loaded in the same process, for performances
reason, it is unsafe to run gtk_main_loop() in each of them.

-- 
Alexandre Bique


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]