Top |
#define | AGS_PORT_GET_OBJ_MUTEX() |
gboolean | ags_port_test_flags () |
void | ags_port_set_flags () |
void | ags_port_unset_flags () |
GObject * | ags_port_get_plugin_port () |
void | ags_port_set_plugin_port () |
void | ags_port_safe_read () |
void | ags_port_safe_read_raw () |
void | ags_port_safe_write () |
void | ags_port_safe_write_raw () |
void | ags_port_safe_get_property () |
void | ags_port_safe_set_property () |
GList * | ags_port_find_specifier () |
GList * | ags_port_find_plugin_port () |
guint | ags_port_get_line () |
GType | ags_port_get_channel_type () |
GList * | ags_port_get_automation () |
void | ags_port_add_automation () |
void | ags_port_remove_automation () |
AgsPort * | ags_port_new () |
gpointer | automation | Read / Write |
GType * | channel-type | Read / Write |
char * | control-port | Read / Write |
AgsConversion * | conversion | Read / Write |
guint | line | Read / Write |
char * | plugin-name | Read / Write |
AgsPluginPort * | plugin-port | Read / Write |
gboolean | port-value-is-pointer | Read / Write |
guint | port-value-length | Read / Write |
guint | port-value-size | Read / Write |
GType * | port-value-type | Read / Write |
char * | specifier | Read / Write |
void | safe-get-property | Run Last |
void | safe-read | Run Last |
void | safe-set-property | Run Last |
void | safe-write | Run Last |
AgsPort provides a thread-safe way to access or change values or properties.
The specifier
property has to be unique within context.
You call ags_port_safe_write()
to alter a value or ags_port_safe_read()
to read a
port.
gboolean ags_port_test_flags (AgsPort *port
,AgsPortFlags flags
);
Test flags
to be set on port
.
Since: 3.0.0
void ags_port_set_flags (AgsPort *port
,AgsPortFlags flags
);
Set flags.
Since: 3.0.0
void ags_port_unset_flags (AgsPort *port
,AgsPortFlags flags
);
Unset flags.
Since: 3.0.0
GObject *
ags_port_get_plugin_port (AgsPort *port
);
Get the plugin port of port
.
Since: 7.0.0
void ags_port_set_plugin_port (AgsPort *port
,GObject *plugin_port
);
Set the plugin port of port
.
Since: 7.0.0
void ags_port_safe_read (AgsPort *port
,GValue *value
);
Perform safe read.
Since: 3.0.0
void ags_port_safe_read_raw (AgsPort *port
,GValue *value
);
Perform safe read.
Since: 3.0.0
void ags_port_safe_write (AgsPort *port
,GValue *value
);
Perform safe write.
Since: 3.0.0
void ags_port_safe_get_property (AgsPort *port
,gchar *property_name
,GValue *value
);
Perform safe get property.
Since: 3.0.0
void ags_port_safe_set_property (AgsPort *port
,gchar *property_name
,GValue *value
);
Perform safe set property.
Since: 3.0.0
GList * ags_port_find_specifier (GList *port
,gchar *specifier
);
Retrieve port by specifier.
port |
the GList containing AgsPort. |
[element-type AgsAudio.Port][transfer none] |
specifier |
the recall specifier to match |
Since: 3.0.0
GList * ags_port_find_plugin_port (GList *port
,GObject *plugin_port
);
Retrieve port by plugin port.
port |
the GList containing AgsPort. |
[element-type AgsAudio.Port][transfer none] |
plugin_port |
the AgsPluginPort |
Since: 3.11.4
GType
ags_port_get_channel_type (AgsPort *port
);
Get channel type.
Since: 5.4.0
GList *
ags_port_get_automation (AgsPort *port
);
Get automation.
Since: 5.4.0
void ags_port_add_automation (AgsPort *port
,GObject *automation
);
Adds an automation.
Since: 3.0.0
void ags_port_remove_automation (AgsPort *port
,GObject *automation
);
Removes an automation.
Since: 3.0.0
Enum values to control the behavior or indicate internal state of AgsPort by enable/disable as flags.
“automation”
property “automation” gpointer
The port's automation.
[transfer full]
Owner: AgsPort
Flags: Read / Write
Since: 3.0.0
“channel-type”
property “channel-type” GType *
The port's channel type.
Owner: AgsPort
Flags: Read / Write
Allowed values: void
Since: 5.4.0
“control-port”
property “control-port” char *
The assigned plugin control port.
Owner: AgsPort
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“conversion”
property “conversion” AgsConversion *
The port's conversion object.
Owner: AgsPort
Flags: Read / Write
Since: 3.0.0
“line”
property “line” guint
The port's line.
Owner: AgsPort
Flags: Read / Write
Default value: 0
Since: 5.4.0
“plugin-name”
property “plugin-name” char *
The assigned plugin.
Owner: AgsPort
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“plugin-port”
property“plugin-port” AgsPluginPort *
The plugin-port.
Owner: AgsPort
Flags: Read / Write
Since: 3.0.0
“port-value-is-pointer”
property “port-value-is-pointer” gboolean
Specify port data as pointer.
Owner: AgsPort
Flags: Read / Write
Default value: FALSE
Since: 3.0.0
“port-value-length”
property “port-value-length” guint
The port's data array length.
Owner: AgsPort
Flags: Read / Write
Default value: 1
Since: 3.0.0
“port-value-size”
property “port-value-size” guint
The port's data type size.
Owner: AgsPort
Flags: Read / Write
Allowed values: [1,16]
Default value: 8
Since: 3.0.0
“port-value-type”
property “port-value-type” GType *
The port's data type.
Owner: AgsPort
Flags: Read / Write
Allowed values: void
Since: 3.0.0
“safe-get-property”
signalvoid user_function (AgsPort *port, char *property_name, gpointer value, gpointer user_data)
The ::safe-get-property signal is emited while safe get property.
port |
the object providing safe get property |
|
property_name |
the property name |
|
value |
the GValue |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“safe-read”
signalvoid user_function (AgsPort *port, gpointer value, gpointer user_data)
The ::safe-read signal is emited while doing safe read operation.
port |
the object providing safe read |
|
value |
the GValue |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“safe-set-property”
signalvoid user_function (AgsPort *port, char *property_name, gpointer value, gpointer user_data)
The ::safe-set-property signal is emited while safe set property.
port |
the object providing safe set property |
|
property_name |
the property name |
|
value |
the GValue |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“safe-write”
signalvoid user_function (AgsPort *port, gpointer value, gpointer user_data)
The ::safe-write signal is emited while doing safe write operation.
port |
the object providing safe write |
|
value |
the GValue |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0