Top |
char * | effect | Read / Write |
guint | effect-index | Read / Write |
char * | filename | Read / Write |
gpointer | plugin-port | Read / Write |
gpointer | plugin-so | Read / Write |
char * | ui-effect | Read / Write |
guint | ui-effect-index | Read / Write |
char * | ui-filename | Read / Write |
AgsBasePlugin * | ui-plugin | Read / Write |
gpointer | ui-plugin-so | Read / Write |
gpointer | uuid | Read / Write |
void | activate | Run Last |
void | connect-port | Run Last |
void | deactivate | Run Last |
gpointer | instantiate | Run Last |
gpointer | instantiate-with-params | Run Last |
void | load-plugin | Run Last |
void | run | Run Last |
GFlags ╰── AgsBasePluginFlags GObject ╰── AgsBasePlugin ├── AgsDssiPlugin ├── AgsLadspaPlugin ├── AgsLv2Plugin ╰── AgsLv2uiPlugin
#define AGS_BASE_PLUGIN_GET_OBJ_MUTEX(obj) (&(((AgsBasePlugin *) obj)->obj_mutex))
GRecMutex *
ags_base_plugin_get_obj_mutex (AgsBasePlugin *base_plugin
);
Get object mutex.
Since: 3.1.0
gboolean ags_base_plugin_test_flags (AgsBasePlugin *base_plugin
,AgsBasePluginFlags flags
);
Test flags
to be set on recall
.
Since: 3.0.0
void ags_base_plugin_set_flags (AgsBasePlugin *base_plugin
,AgsBasePluginFlags flags
);
Set flags.
Since: 3.0.0
void ags_base_plugin_unset_flags (AgsBasePlugin *base_plugin
,AgsBasePluginFlags flags
);
Unset flags.
Since: 3.0.0
gchar *
ags_base_plugin_get_filename (AgsBasePlugin *base_plugin
);
Get filename.
Since: 3.1.0
void ags_base_plugin_set_filename (AgsBasePlugin *base_plugin
,gchar *filename
);
Set filename.
Since: 3.1.0
gchar *
ags_base_plugin_get_effect (AgsBasePlugin *base_plugin
);
Get effect.
Since: 3.1.0
void ags_base_plugin_set_effect (AgsBasePlugin *base_plugin
,gchar *effect
);
Set effect.
Since: 3.1.0
guint
ags_base_plugin_get_effect_index (AgsBasePlugin *base_plugin
);
Get effect index.
Since: 3.1.0
void ags_base_plugin_set_effect_index (AgsBasePlugin *base_plugin
,guint effect_index
);
Set effect index.
Since: 3.1.0
gpointer
ags_base_plugin_get_plugin_so (AgsBasePlugin *base_plugin
);
Get plugin so.
Since: 3.1.0
void ags_base_plugin_set_plugin_so (AgsBasePlugin *base_plugin
,gpointer plugin_so
);
Set plugin_so.
Since: 3.1.0
GList *
ags_base_plugin_get_plugin_port (AgsBasePlugin *base_plugin
);
void ags_base_plugin_set_plugin_port (AgsBasePlugin *base_plugin
,GList *plugin_port
);
Set recall dependency by replacing existing.
base_plugin |
the AgsBasePlugin |
|
plugin_port |
the GList containing AgsPluginPort. |
[element-type AgsAudio.PluginPort][transfer full] |
Since: 3.1.0
gchar *
ags_base_plugin_get_ui_filename (AgsBasePlugin *base_plugin
);
Get UI filename.
Since: 3.1.0
void ags_base_plugin_set_ui_filename (AgsBasePlugin *base_plugin
,gchar *ui_filename
);
Set UI filename.
Since: 3.1.0
gchar *
ags_base_plugin_get_ui_effect (AgsBasePlugin *base_plugin
);
Get UI effect.
Since: 3.1.0
void ags_base_plugin_set_ui_effect (AgsBasePlugin *base_plugin
,gchar *ui_effect
);
Set UI effect.
Since: 3.1.0
guint
ags_base_plugin_get_ui_effect_index (AgsBasePlugin *base_plugin
);
Get UI effect index.
Since: 3.1.0
void ags_base_plugin_set_ui_effect_index (AgsBasePlugin *base_plugin
,guint ui_effect_index
);
Set UI effect index.
Since: 3.1.0
gpointer
ags_base_plugin_get_ui_plugin_so (AgsBasePlugin *base_plugin
);
Get plugin so.
Since: 3.1.0
void ags_base_plugin_set_ui_plugin_so (AgsBasePlugin *base_plugin
,gpointer ui_plugin_so
);
Set ui_plugin_so.
Since: 3.1.0
GObject *
ags_base_plugin_get_ui_plugin (AgsBasePlugin *base_plugin
);
void ags_base_plugin_set_ui_plugin (AgsBasePlugin *base_plugin
,GObject *ui_plugin
);
GList * ags_base_plugin_find_filename (GList *base_plugin
,gchar *filename
);
Find filename in base_plugin
GList of AgsBasePlugin.
base_plugin |
the GList containing AgsBasePlugin. |
[element-type AgsAudio.BasePlugin] |
filename |
the filename as string |
Since: 3.0.0
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. |
[element-type AgsAudio.BasePlugin] |
filename |
the filename as string |
|
effect |
the effect as string |
Since: 3.0.0
GList * ags_base_plugin_find_ui_effect_index (GList *base_plugin
,gchar *ui_filename
,guint ui_effect_index
);
Find ui_filename
and ui_effect_index
in base_plugin
GList of AgsBasePlugin.
base_plugin |
the GList containing AgsBasePlugin. |
[element-type AgsAudio.BasePlugin] |
ui_filename |
the UI filename as string |
|
ui_effect_index |
the UI effect index |
Since: 3.0.0
gint ags_base_plugin_sort_func (gpointer a
,gpointer b
);
Sort function.
Since: 3.0.0
GList *
ags_base_plugin_sort (GList *base_plugin
);
Sort base_plugin
alphabetically.
base_plugin |
the GList containing AgsBasePlugin. |
[element-type AgsAudio.BasePlugin][transfer none] |
Since: 3.0.0
void
ags_base_plugin_apply_port_group_by_prefix
(AgsBasePlugin *base_plugin
);
gpointer ags_base_plugin_instantiate (AgsBasePlugin *base_plugin
,guint samplerate
,guint buffer_size
);
Instantiate the plugin
base_plugin |
the AgsBasePlugin |
|
samplerate |
the samplerate |
|
buffer_size |
the fixed buffer size |
Since: 3.0.0
gpointer ags_base_plugin_instantiate_with_params (AgsBasePlugin *base_plugin
,guint *n_params
,gchar ***parameter_name
,GValue **value
);
Instantiate the plugin
base_plugin |
the AgsBasePlugin |
|
n_params |
guint pointer to parameter count |
|
parameter_name |
string vector containing parameter names |
|
value |
the GValue array |
Since: 3.0.0
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: 3.0.0
void ags_base_plugin_activate (AgsBasePlugin *base_plugin
,gpointer plugin_handle
);
Activate a plugin instance
Since: 3.0.0
void ags_base_plugin_deactivate (AgsBasePlugin *base_plugin
,gpointer plugin_handle
);
Deactivat a plugin instance
Since: 3.0.0
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. |
[type gpointer][transfer none] |
frame_count |
the frame counts |
Since: 3.0.0
void
ags_base_plugin_load_plugin (AgsBasePlugin *base_plugin
);
Load the plugin
Since: 3.0.0
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: 3.0.0
Enum values to control the behavior or indicate internal state of AgsBasePlugin by enable/disable as flags.
“effect”
property “effect” char *
The assigned effect.
Owner: AgsBasePlugin
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“effect-index”
property “effect-index” guint
The assigned effect-index.
Owner: AgsBasePlugin
Flags: Read / Write
Default value: 0
Since: 3.0.0
“filename”
property “filename” char *
The assigned filename.
Owner: AgsBasePlugin
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“plugin-port”
property “plugin-port” gpointer
The assigned GList containing AgsPluginPort
[transfer full]
Owner: AgsBasePlugin
Flags: Read / Write
Since: 3.0.0
“plugin-so”
property “plugin-so” gpointer
The assigned plugin.so
Owner: AgsBasePlugin
Flags: Read / Write
Since: 3.0.0
“ui-effect”
property “ui-effect” char *
The assigned ui-effect.
Owner: AgsBasePlugin
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“ui-effect-index”
property “ui-effect-index” guint
The assigned ui-effect-index.
Owner: AgsBasePlugin
Flags: Read / Write
Default value: 0
Since: 3.0.0
“ui-filename”
property “ui-filename” char *
The assigned UI filename.
Owner: AgsBasePlugin
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“ui-plugin”
property“ui-plugin” AgsBasePlugin *
The assigned ui-plugin.
Owner: AgsBasePlugin
Flags: Read / Write
Since: 3.0.0
“ui-plugin-so”
property “ui-plugin-so” gpointer
The assigned ui_plugin.so
Owner: AgsBasePlugin
Flags: Read / Write
Since: 3.0.0
“activate”
signalvoid user_function (AgsBasePlugin *base_plugin, gpointer plugin_handle, gpointer user_data)
The ::activate signal creates a new instance of plugin.
base_plugin |
the plugin to activate |
|
plugin_handle |
the plugin handle |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“connect-port”
signalvoid user_function (AgsBasePlugin *base_plugin, gpointer plugin_handle, guint port_index, gpointer data_location, gpointer user_data)
The ::connect-port signal creates a new instance of plugin.
base_plugin |
the plugin to connect-port |
|
plugin_handle |
the plugin handle |
|
port_index |
the port index |
|
data_location |
the data location |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“deactivate”
signalvoid user_function (AgsBasePlugin *base_plugin, gpointer plugin_handle, gpointer user_data)
The ::deactivate signal creates a new instance of plugin.
base_plugin |
the plugin to deactivate |
|
plugin_handle |
the plugin handle |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“instantiate”
signalgpointer user_function (AgsBasePlugin *base_plugin, guint samplerate, guint buffer_size, gpointer user_data)
The ::instantiate signal creates a new instance of plugin.
base_plugin |
the plugin to instantiate |
|
samplerate |
the samplerate |
|
buffer_size |
the fixed buffer size |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“instantiate-with-params”
signalgpointer user_function (AgsBasePlugin *base_plugin, gpointer n_params, gpointer parameter_name, gpointer value, gpointer user_data)
The ::instantiate-with-params signal creates a new instance of plugin.
base_plugin |
the plugin to instantiate |
|
n_params |
pointer to array length |
|
parameter_name |
parameter name string vector |
|
value |
the GValue array |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“load-plugin”
signalvoid user_function (AgsBasePlugin *base_plugin, gpointer user_data)
The ::load-plugin signal creates a new instance of plugin.
base_plugin |
the plugin to load_plugin |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“run”
signalvoid user_function (AgsBasePlugin *base_plugin, gpointer plugin_handle, gpointer seq_event, guint frame_count, gpointer user_data)
The ::run signal creates a new instance of plugin.
base_plugin |
the plugin to run |
|
plugin_handle |
the plugin handle |
|
seq_event |
the MIDI data |
|
frame_count |
the frame count |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0