Re: Removing global variables
- From: Alexandre Bique <bique alexandre gmail com>
- To: Bernhard Schuster <schuster bernhard gmail com>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Removing global variables
- Date: Wed, 26 Nov 2014 14:52:57 +0100
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]