Top |
#define | AGS_OSC_BUILDER_GET_OBJ_MUTEX() |
#define | AGS_OSC_BUILDER_PACKET() |
#define | AGS_OSC_BUILDER_BUNDLE() |
#define | AGS_OSC_BUILDER_MESSAGE() |
AgsOscBuilderPacket * | ags_osc_builder_packet_alloc () |
void | ags_osc_builder_packet_free () |
AgsOscBuilderBundle * | ags_osc_builder_bundle_alloc () |
void | ags_osc_builder_bundle_free () |
AgsOscBuilderMessage * | ags_osc_builder_message_alloc () |
void | ags_osc_builder_message_free () |
void | ags_osc_builder_osc_putc () |
void | ags_osc_builder_on_error () |
void | ags_osc_builder_append_packet () |
void | ags_osc_builder_append_bundle () |
void | ags_osc_builder_append_message () |
void | ags_osc_builder_append_value () |
void | ags_osc_builder_build () |
guchar * | ags_osc_builder_get_data () |
guchar * | ags_osc_builder_get_data_with_length () |
AgsOscBuilder * | ags_osc_builder_new () |
void | append-bundle | Run Last |
void | append-message | Run Last |
void | append-packet | Run Last |
void | append-value | Run Last |
void | on-error | Run Last |
void | osc-putc | Run Last |
#define | AGS_OSC_BUILDER_DEFAULT_CHUNK_SIZE |
#define | AGS_OSC_BUILDER_MESSAGE_DEFAULT_CHUNK_SIZE |
enum | AgsOscBuilderFlags |
struct | AgsOscBuilderPacket |
struct | AgsOscBuilderBundle |
struct | AgsOscBuilderMessage |
#define AGS_OSC_BUILDER_GET_OBJ_MUTEX(obj) (&(((AgsOscBuilder *) obj)->obj_mutex))
AgsOscBuilderPacket *
ags_osc_builder_packet_alloc (guint64 offset
);
Allocate AgsOscBuilderPacket.
Since: 3.0.0
void
ags_osc_builder_packet_free (AgsOscBuilderPacket *packet
);
Free packet
.
Since: 3.0.0
AgsOscBuilderBundle *
ags_osc_builder_bundle_alloc (guint64 offset
);
Allocate AgsOscBuilderBundle.
Since: 3.0.0
void
ags_osc_builder_bundle_free (AgsOscBuilderBundle *bundle
);
Free bundle
.
Since: 3.0.0
AgsOscBuilderMessage *
ags_osc_builder_message_alloc (guint64 offset
);
Allocate AgsOscBuilderMessage.
Since: 3.0.0
void
ags_osc_builder_message_free (AgsOscBuilderMessage *message
);
Free message
.
Since: 3.0.0
void ags_osc_builder_osc_putc (AgsOscBuilder *osc_builder
,gint c
);
Put character
Since: 3.0.0
void ags_osc_builder_on_error (AgsOscBuilder *osc_builder
,GError **error
);
Report error.
Since: 3.0.0
void
ags_osc_builder_append_packet (AgsOscBuilder *osc_builder
);
Since: 3.0.0
void ags_osc_builder_append_bundle (AgsOscBuilder *osc_builder
,AgsOscBuilderBundle *parent_bundle
,gint tv_secs
,gint tv_fraction
,gboolean immediately
);
Append bundle.
osc_builder |
the AgsOscBuilder |
|
parent_bundle |
the parent AgsOscBuilderBundle or |
|
tv_secs |
number of seconds since midnight on January 1, 1900 |
|
tv_fraction |
fraction of seconds to a precision of about 200 picoseconds |
|
immediately |
if |
Since: 3.0.0
void ags_osc_builder_append_message (AgsOscBuilder *osc_builder
,AgsOscBuilderBundle *parent_bundle
,gchar *address_pattern
,gchar *type_tag
);
Append message.
osc_builder |
the AgsOscBuilder |
|
parent_bundle |
the parent AgsOscBuilderBundle or |
|
address_pattern |
the address pattern |
|
type_tag |
the type tag |
Since: 3.0.0
void ags_osc_builder_append_value (AgsOscBuilder *osc_builder
,AgsOscBuilderMessage *message
,gint v_type
,GValue *value
);
Append value.
osc_builder |
the AgsOscBuilder |
|
message |
the message |
|
v_type |
the type as char |
|
value |
the GValue containinig value |
Since: 3.0.0
void
ags_osc_builder_build (AgsOscBuilder *osc_builder
);
Build the OSC data.
Since: 3.0.0
guchar *
ags_osc_builder_get_data (AgsOscBuilder *osc_builder
);
Get OSC data of osc_builder
.
Since: 3.7.24
guchar * ags_osc_builder_get_data_with_length (AgsOscBuilder *osc_builder
,guint *length
);
Get OSC data of osc_builder
.
Since: 3.7.24
AgsOscBuilder * ags_osc_builder_new ();
Creates a new instance of AgsOscBuilder
Since: 3.0.0
#define AGS_OSC_BUILDER_MESSAGE_DEFAULT_CHUNK_SIZE (8192)
struct AgsOscBuilderPacket { guint64 offset; gsize packet_size; AgsOscBuilder *builder; GList *message; GList *bundle; };
struct AgsOscBuilderBundle { guint64 offset; gsize bundle_size; gint32 tv_secs; gint32 tv_fraction; gboolean immediately; AgsOscBuilderPacket *packet; AgsOscBuilderBundle *parent_bundle; GList *message; GList *bundle; };
“append-bundle”
signalvoid user_function (AgsOscBuilder *osc_builder, gpointer parent_bundle, int tv_secs, int tv_fraction, gboolean immediately, gpointer user_data)
The ::append-bundle signal is emited during building bundle.
osc_builder |
the builder |
|
parent_bundle |
the parent AgsOscBuilderBundle or |
|
tv_secs |
time value secondes since midnight January 1900 |
|
tv_fraction |
time value fractions of second |
|
immediately |
if |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“append-message”
signalvoid user_function (AgsOscBuilder *osc_builder, gpointer parent_bundle, gpointer address_pattern, gpointer type_tag, gpointer user_data)
The ::append-message signal is emited during building message.
osc_builder |
the builder |
|
parent_bundle |
the parent AgsOscBuilderBundle or |
|
address_pattern |
the address pattern string |
|
type_tag |
the type tag string |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“append-packet”
signalvoid user_function (AgsOscBuilder *osc_builder, gpointer user_data)
The ::append-packet signal is emited during building packet.
Flags: Run Last
Since: 3.0.0
“append-value”
signalvoid user_function (AgsOscBuilder *osc_builder, int message, gpointer v_type, gpointer user_data)
The ::append-value signal is emited during building value.
osc_builder |
the builder |
|
message |
the message |
|
v_type |
the type as ASCII char |
|
value |
the GValue |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“on-error”
signalvoid user_function (AgsOscBuilder *osc_builder, gpointer error, gpointer user_data)
The ::on-error signal is emited during building of event.
osc_builder |
the builder |
|
error |
the GError |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“osc-putc”
signalvoid user_function (AgsOscBuilder *osc_builder, int error, gpointer user_data)
The ::osc-putc signal is emited during putting char to file.
osc_builder |
the builder |
|
error |
the GError |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0