Top | ![]() |
![]() |
![]() |
![]() |
#define | AGS_LV2_PLUGIN_DESCRIPTOR() |
#define | AGS_LV2_EVENT_BUFFER() |
#define | AGS_LV2_EVENT() |
#define | AGS_LV2_EVENT_DATA() |
#define | AGS_LV2_ATOM_SEQUENCE() |
#define | AGS_LV2_ATOM_EVENT() |
LV2_Event_Buffer * | ags_lv2_plugin_event_buffer_alloc () |
void | ags_lv2_plugin_event_buffer_realloc_data () |
LV2_Event_Buffer * | ags_lv2_plugin_event_buffer_concat () |
gboolean | ags_lv2_plugin_event_buffer_append_midi () |
gboolean | ags_lv2_plugin_event_buffer_remove_midi () |
void | ags_lv2_plugin_clear_event_buffer () |
void * | ags_lv2_plugin_alloc_atom_sequence () |
void * | ags_lv2_plugin_concat_atom_sequence () |
gboolean | ags_lv2_plugin_atom_sequence_append_midi () |
gboolean | ags_lv2_plugin_atom_sequence_remove_midi () |
void | ags_lv2_plugin_clear_atom_sequence () |
GList * | ags_lv2_plugin_find_pname () |
void | ags_lv2_plugin_change_program () |
AgsLv2Plugin * | ags_lv2_plugin_new () |
#define | AGS_IS_LV2_PLUGIN() |
#define | AGS_LV2_PLUGIN() |
#define | AGS_LV2_PLUGIN_CLASS() |
#define | AGS_LV2_PLUGIN_GET_CLASS() |
GType | ags_lv2_plugin_get_type () |
enum | AgsLv2PluginFlags |
#define | AGS_TYPE_LV2_PLUGIN |
struct | AgsLv2Plugin |
struct | AgsLv2PluginClass |
LV2_Event_Buffer *
ags_lv2_plugin_event_buffer_alloc (guint buffer_size
);
ags_lv2_plugin_event_buffer_alloc
is deprecated and should not be used in newly-written code.
Allocate LV2_Event_Buffer struct.
Since: 1.0.0
void ags_lv2_plugin_event_buffer_realloc_data (LV2_Event_Buffer *event_buffer
,guint buffer_size
);
Reallocate LV2_Event_Buffer struct's data field.
Since: 1.0.0
LV2_Event_Buffer * ags_lv2_plugin_event_buffer_concat (LV2_Event_Buffer *event_buffer
,...
);
Concats the event buffers.
Since: 1.0.0
gboolean ags_lv2_plugin_event_buffer_append_midi (void *event_buffer
,guint buffer_size
,snd_seq_event_t *events
,guint event_count
);
Append MIDI data to event buffer.
event_buffer |
the event buffer |
|
buffer_size |
the event buffer size |
|
events |
the events to write |
|
event_count |
the number of events to write |
Since: 1.0.0
gboolean ags_lv2_plugin_event_buffer_remove_midi (void *event_buffer
,guint buffer_size
,guint note
);
Remove MIDI data from event buffer.
Since: 1.0.0
void ags_lv2_plugin_clear_event_buffer (void *event_buffer
,guint buffer_size
);
Clear the event buffer.
Since: 1.0.0
void *
ags_lv2_plugin_alloc_atom_sequence (guint sequence_size
);
Allocates a LV2_Atom_Sequence
Since: 1.0.0
void * ags_lv2_plugin_concat_atom_sequence (void *sequence
,guint sequence_size
,...
);
gboolean ags_lv2_plugin_atom_sequence_append_midi (void *atom_sequence
,guint sequence_size
,snd_seq_event_t *events
,guint event_count
);
Append MIDI data to atom sequence.
atom_sequence |
the atom sequence |
|
sequence_size |
the atom sequence size |
|
events |
the events to write |
|
event_count |
the number of events to write |
Since: 1.0.0
gboolean ags_lv2_plugin_atom_sequence_remove_midi (void *atom_sequence
,guint sequence_size
,guint note
);
Remove MIDI data from atom sequence.
atom_sequence |
the atom sequence |
|
sequence_size |
the atom sequence size |
|
note |
the key to remove |
Since: 1.0.0
void ags_lv2_plugin_clear_atom_sequence (void *atom_sequence
,guint sequence_size
);
Clear the atom sequence.
Since: 1.0.0
GList * ags_lv2_plugin_find_pname (GList *lv2_plugin
,gchar *pname
);
Find pname in lv2_plugin
GList
Since: 1.0.0.8
void ags_lv2_plugin_change_program (AgsLv2Plugin *lv2_plugin
,gpointer lv2_handle
,guint bank_index
,guint program_index
);
Change program of lv2_handle
.
lv2_plugin |
the AgsLv2Plugin |
|
lv2_handle |
the lv2 handle |
|
bank_index |
the bank index |
|
program_index |
the program index |
Since: 1.0.0
AgsLv2Plugin * ags_lv2_plugin_new (AgsTurtle *turtle
,gchar *filename
,gchar *effect
,gchar *uri
,guint effect_index
);
Creates an AgsLv2Plugin
turtle |
the turtle |
|
filename |
the plugin .so |
|
effect |
the effect's string representation |
|
uri |
the effect's uri |
|
effect_index |
the effect's index |
Since: 1.0.0
#define AGS_IS_LV2_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_LV2_PLUGIN))
#define AGS_LV2_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_LV2_PLUGIN, AgsLv2Plugin))
#define AGS_LV2_PLUGIN_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_LV2_PLUGIN, AgsLv2PluginClass))
#define AGS_LV2_PLUGIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_LV2_PLUGIN, AgsLv2PluginClass))
Enum values to control the behavior or indicate internal state of AgsLv2Plugin by enable/disable as flags.
“manifest”
property“manifest” AgsTurtle *
The assigned manifest.
Flags: Read / Write
Since: 1.0.0
“pname”
property “pname” gchar *
The assigned pname.
Flags: Read / Write
Default value: NULL
Since: 1.0.0
“ui-uri”
property “ui-uri” gchar *
The assigned ui-uri.
Flags: Read / Write
Default value: NULL
Since: 1.0.0
“change-program”
signalvoid user_function (AgsLv2Plugin *lv2_plugin, gpointer lv2_handle, guint bank, guint program, gpointer user_data)
The ::change-program signal creates a new instance of plugin.
lv2_plugin |
the plugin to change-program |
|
lv2_handle |
the Lv2 handle |
|
bank |
the bank number |
|
program |
the program number |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 1.0.0