Top |
#define | AGS_PORT_DESCRIPTOR() |
AgsPortDescriptor * | ags_port_descriptor_alloc () |
void | ags_port_descriptor_free () |
GList * | ags_base_plugin_find_filename () |
GList * | ags_base_plugin_find_effect () |
GList * | ags_base_plugin_sort () |
void | ags_base_plugin_apply_port_group_by_prefix () |
gpointer | ags_base_plugin_instantiate () |
void | ags_base_plugin_connect_port () |
void | ags_base_plugin_activate () |
void | ags_base_plugin_deactivate () |
void | ags_base_plugin_run () |
void | ags_base_plugin_load_plugin () |
AgsBasePlugin * | ags_base_plugin_new () |
#define | AGS_BASE_PLUGIN() |
#define | AGS_BASE_PLUGIN_CLASS() |
#define | AGS_BASE_PLUGIN_GET_CLASS() |
#define | AGS_IS_BASE_PLUGIN() |
#define | AGS_IS_BASE_PLUGIN_CLASS() |
GType | ags_base_plugin_get_type () |
gchar * | effect | Read / Write |
guint | effect-index | Read / Write |
gchar * | filename | Read / Write |
gchar * | ui-effect | Read / Write |
guint | ui-effect-index | Read / Write |
gchar * | ui-filename | Read / Write |
AgsBasePlugin * | ui-plugin | Read / Write |
void | activate | Run Last |
void | connect-port | Run Last |
void | deactivate | Run Last |
gpointer | instantiate | Run Last |
void | load-plugin | Run Last |
void | run | Run Last |
enum | AgsBasePluginFlags |
enum | AgsPortDescriptorFlags |
struct | AgsPortDescriptor |
#define | AGS_TYPE_BASE_PLUGIN |
struct | AgsBasePlugin |
struct | AgsBasePluginClass |
GObject ╰── AgsBasePlugin ├── AgsDssiPlugin ├── AgsLadspaPlugin ├── AgsLv2Plugin ╰── AgsLv2uiPlugin
AgsPortDescriptor * ags_port_descriptor_alloc ();
Alloc the AgsPortDescriptor
Since: 0.7.6
void
ags_port_descriptor_free (AgsPortDescriptor *port_descriptor
);
Free the AgsPortDescriptor
Since: 0.7.6
GList * ags_base_plugin_find_filename (GList *base_plugin
,gchar *filename
);
Find filename in base_plugin
GList of AgsBasePlugin.
Since: 0.7.6
GList * ags_base_plugin_find_effect (GList *base_plugin
,gchar *filename
,gchar *effect
);
Find filename
and effect
in base_plugin
GList of AgsBasePlugin.
base_plugin |
the GList containing AgsBasePlugin |
|
filename |
the filename as string |
|
effect |
the effect as string |
Since: 0.7.6
GList *
ags_base_plugin_sort (GList *base_plugin
);
Sort base_plugin
alphabetically.
Since: 0.7.107
void
ags_base_plugin_apply_port_group_by_prefix
(AgsBasePlugin *base_plugin
);
gpointer ags_base_plugin_instantiate (AgsBasePlugin *base_plugin
,guint samplerate
);
Instantiate the plugin
Since: 0.7.6
void ags_base_plugin_connect_port (AgsBasePlugin *base_plugin
,gpointer plugin_handle
,guint port_index
,gpointer data_location
);
Connect a plugin instance.
base_plugin |
the AgsBasePlugin |
|
plugin_handle |
the plugin instance handle |
|
port_index |
the port's index to connect |
|
data_location |
the data location to connect |
Since: 0.7.6
void ags_base_plugin_activate (AgsBasePlugin *base_plugin
,gpointer plugin_handle
);
Activate a plugin instance
Since: 0.7.6
void ags_base_plugin_deactivate (AgsBasePlugin *base_plugin
,gpointer plugin_handle
);
Deactivat a plugin instance
Since: 0.7.6
void ags_base_plugin_run (AgsBasePlugin *base_plugin
,gpointer plugin_handle
,snd_seq_event_t *seq_event
,guint frame_count
);
Deactivat a plugin instance
base_plugin |
the AgsBasePlugin |
|
plugin_handle |
the plugin instance handle |
|
seq_event |
the alsa sequencer events |
|
frame_count |
the frame counts |
Since: 0.7.6
void
ags_base_plugin_load_plugin (AgsBasePlugin *base_plugin
);
Load the plugin
Since: 0.7.6
AgsBasePlugin * ags_base_plugin_new (gchar *filename
,gchar *effect
,guint effect_index
);
Creates an AgsBasePlugin
filename |
the plugin .so |
|
effect |
the effect's string representation |
|
effect_index |
the effect's index |
Since: 0.7.6
#define AGS_BASE_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_BASE_PLUGIN, AgsBasePlugin))
#define AGS_BASE_PLUGIN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_BASE_PLUGIN, AgsBasePluginClass))
#define AGS_BASE_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_BASE_PLUGIN, AgsBasePluginClass))
#define AGS_IS_BASE_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_BASE_PLUGIN))
#define AGS_IS_BASE_PLUGIN_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_BASE_PLUGIN))
struct AgsPortDescriptor { guint flags; guint port_index; gchar *port_name; gchar *port_symbol; guint scale_steps; gchar **scale_points; float *scale_value; GValue *lower_value; GValue *upper_value; GValue *default_value; gpointer user_data; };
struct AgsBasePluginClass { GObjectClass object; gpointer (*instantiate)(AgsBasePlugin *base_plugin, guint samplerate); void (*connect_port)(AgsBasePlugin *base_plugin, gpointer plugin_handle, guint port_index, gpointer data_location); void (*activate)(AgsBasePlugin *base_plugin, gpointer plugin_handle); void (*deactivate)(AgsBasePlugin *base_plugin, gpointer plugin_handle); void (*run)(AgsBasePlugin *base_plugin, gpointer plugin_handle, snd_seq_event_t *seq_event, guint frame_count); void (*load_plugin)(AgsBasePlugin *base_plugin); };
“effect”
property“effect” gchar *
The assigned effect.
Flags: Read / Write
Default value: NULL
Since: 0.7.6
“effect-index”
property“effect-index” guint
The assigned effect-index.
Flags: Read / Write
Default value: 0
Since: 0.7.6
“filename”
property“filename” gchar *
The assigned filename.
Flags: Read / Write
Default value: NULL
Since: 0.7.6
“ui-effect”
property“ui-effect” gchar *
The assigned ui-effect.
Flags: Read / Write
Default value: NULL
Since: 0.7.127
“ui-effect-index”
property“ui-effect-index” guint
The assigned ui-effect-index.
Flags: Read / Write
Default value: 0
Since: 0.7.127
“ui-filename”
property“ui-filename” gchar *
The assigned UI filename.
Flags: Read / Write
Default value: NULL
Since: 0.7.127
“ui-plugin”
property“ui-plugin” AgsBasePlugin *
The assigned ui-plugin.
Flags: Read / Write
Since: 0.7.6
“activate”
signalvoid user_function (AgsBasePlugin *base_plugin, gpointer arg1, gpointer user_data)
The ::activate signal creates a new instance of plugin.
base_plugin |
the plugin to activate |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 0.7.6
“connect-port”
signalvoid user_function (AgsBasePlugin *base_plugin, gpointer arg1, guint arg2, gpointer arg3, gpointer user_data)
The ::connect-port signal creates a new instance of plugin.
base_plugin |
the plugin to connect-port |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 0.7.6
“deactivate”
signalvoid user_function (AgsBasePlugin *base_plugin, gpointer arg1, gpointer user_data)
The ::deactivate signal creates a new instance of plugin.
base_plugin |
the plugin to deactivate |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 0.7.6
“instantiate”
signalgpointer user_function (AgsBasePlugin *base_plugin, guint samplerate, gpointer user_data)
The ::instantiate signal creates a new instance of plugin.
base_plugin |
the plugin to instantiate |
|
samplerate |
the samplerate |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 0.7.6
“load-plugin”
signalvoid user_function (AgsBasePlugin *agsbaseplugin, gpointer user_data)
agsbaseplugin |
the object which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“run”
signalvoid user_function (AgsBasePlugin *base_plugin, gpointer arg1, gpointer arg2, guint arg3, gpointer user_data)
The ::run signal creates a new instance of plugin.
base_plugin |
the plugin to run |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 0.7.6