Advanced Gtk+ Sequencer Reference Manual | ||||
---|---|---|---|---|
Top | Description |
#include <ags/audio/ags_port.h> struct AgsPort; struct AgsPortClass;GList * ags_port_find_specifier (,
GList *port); AgsPort * ags_port_new ();
gchar *specifiervoid ags_port_safe_get_property (AgsPort *port
,,
gchar *property_name);
GValue *valuevoid ags_port_safe_read (AgsPort *port
,);
GValue *valuevoid ags_port_safe_set_property (AgsPort *port
,,
gchar *property_name);
GValue *valuevoid ags_port_safe_write (AgsPort *port
,);
GValue *value
struct AgsPort { GObject object; gchar *plugin_name; gchar *specifier; gchar *control_port; gboolean port_value_is_pointer; GType port_value_type; guint port_value_size; guint port_value_length; pthread_mutex_t mutex; union _AgsPortValue{ gboolean ags_port_boolean; gint64 ags_port_int; guint64 ags_port_uint; gfloat ags_port_float; gdouble ags_port_double; gboolean *ags_port_boolean_ptr; gint64 *ags_port_int_ptr; guint64 *ags_port_uint_ptr; gfloat *ags_port_float_ptr; gdouble *ags_port_double_ptr; gpointer ags_port_pointer; GObject *ags_port_object; }port_value; };
struct AgsPortClass { GObjectClass object; void (*safe_read)(AgsPort *port, GValue *value); void (*safe_write)(AgsPort *port, GValue *value); void (*safe_get_property)(AgsPort *port, gchar *property_name, GValue *value); void (*safe_set_property)(AgsPort *port, gchar *property_name, GValue *value); };
GList * ags_port_find_specifier (,
GList *port);
gchar *specifier
Retrieve port by specifier.
|
a |
|
the recall specifier to match |
Returns : |
Next match. |
Since 0.4
void ags_port_safe_get_property (AgsPort *port
,,
gchar *property_name);
GValue *value
Perform safe get property.
|
an AgsPort |
|
the property's name |
|
the |
Since 0.4
void ags_port_safe_read (AgsPort *port
,);
GValue *value
Perform safe read.
|
an AgsPort |
|
the |
Since 0.4
void ags_port_safe_set_property (AgsPort *port
,,
gchar *property_name);
GValue *value
Perform safe set property.
|
an AgsPort |
|
the property's name |
|
the |
Since 0.4