Top | ![]() |
![]() |
![]() |
![]() |
guint | ags_osc_util_type_tag_string_count_type () |
unsigned char * | ags_osc_util_meta_data () |
unsigned char * | ags_osc_util_mime_header () |
unsigned char * | ags_osc_util_slip_encode () |
unsigned char * | ags_osc_util_slip_decode () |
void | ags_osc_util_timetag_now () |
guint
ags_osc_util_type_tag_string_count_type
(gchar *type_tag_string
);
Count types in type_tag
.
Since: 2.1.0
unsigned char * ags_osc_util_meta_data (gchar *uri
,guint *meta_data_length
);
Get meta data.
Since: 2.1.0
unsigned char * ags_osc_util_mime_header (gchar *uri
,guint *mime_header_length
);
Get MIME header.
Since: 2.1.0
unsigned char * ags_osc_util_slip_encode (unsigned char *osc_buffer
,guint buffer_length
,guint *returned_buffer_length
);
Encode osc_buffer
to be suitable for network transmission.
See SLIP (RFC1055).
osc_buffer |
the OSC buffer |
|
buffer_length |
the OSC buffer's length |
|
returned_buffer_length |
the returned buffer's length |
Since: 2.1.0
unsigned char * ags_osc_util_slip_decode (unsigned char *slip_buffer
,guint slip_buffer_length
,guint *returned_buffer_length
);
Decode slip_buffer
from SLIP encoded format.
See SLIP (RFC1055).
slip_buffer |
the SLIP encoded OSC buffer |
|
slip_buffer_length |
the buffer length of SLIP encoded OSC buffer |
|
returned_buffer_length |
the returned buffer's length |
Since: 2.1.0
void ags_osc_util_timetag_now (gint32 *tv_sec
,gint32 *tv_fraction
);
Get current time.
tv_secs |
the return location of number of seconds since midnight on January 1, 1900 |
|
tv_fraction |
the return location of fraction of seconds to a precision of about 200 picoseconds |
Since: 2.1.0