AgsOscResponse

AgsOscResponse — the OSC server side response

Functions

Properties

gchar * error-message Read / Write
gpointer packet Read / Write
guint packet-size Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsOscResponse

Includes

#include <ags/audio/osc/ags_osc_response.h>

Description

AgsOscResponse your OSC server side response.

Functions

AGS_OSC_RESPONSE_GET_OBJ_MUTEX()

#define AGS_OSC_RESPONSE_GET_OBJ_MUTEX(obj) (((AgsOscResponse *) obj)->obj_mutex)

ags_osc_response_get_class_mutex ()

pthread_mutex_t *
ags_osc_response_get_class_mutex ();

Use this function's returned mutex to access mutex fields.

Returns

the class mutex

Since: 2.1.0


ags_osc_response_test_flags ()

gboolean
ags_osc_response_test_flags (AgsOscResponse *osc_response,
                             guint flags);

Test flags to be set on osc_response .

Parameters

osc_response

the AgsOscResponse

 

flags

the flags

 

Returns

TRUE if flags are set, else FALSE

Since: 2.1.0


ags_osc_response_set_flags ()

void
ags_osc_response_set_flags (AgsOscResponse *osc_response,
                            guint flags);

Set flags.

Parameters

osc_response

the AgsOscResponse

 

flags

the flags

 

Since: 2.1.0


ags_osc_response_unset_flags ()

void
ags_osc_response_unset_flags (AgsOscResponse *osc_response,
                              guint flags);

Unset flags.

Parameters

osc_response

the AgsOscResponse

 

flags

the flags

 

Since: 2.1.0


ags_osc_response_new ()

AgsOscResponse *
ags_osc_response_new ();

Creates a new instance of AgsOscResponse

Returns

the new AgsOscResponse

Since: 2.1.0


AGS_IS_OSC_RESPONSE()

#define AGS_IS_OSC_RESPONSE(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_OSC_RESPONSE))

AGS_OSC_RESPONSE()

#define AGS_OSC_RESPONSE(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OSC_RESPONSE, AgsOscResponse))

AGS_OSC_RESPONSE_CLASS()

#define AGS_OSC_RESPONSE_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OSC_RESPONSE, AgsOscResponseClass))

AGS_OSC_RESPONSE_GET_CLASS()

#define AGS_OSC_RESPONSE_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_OSC_RESPONSE, AgsOscResponseClass))

ags_osc_response_get_type ()

GType
ags_osc_response_get_type (void);

Types and Values

AGS_OSC_RESPONSE_ERROR_MESSAGE_SERVER_FAILURE

#define AGS_OSC_RESPONSE_ERROR_MESSAGE_SERVER_FAILURE "server failure"

AGS_OSC_RESPONSE_ERROR_MESSAGE_MALFORMED_REQUEST

#define AGS_OSC_RESPONSE_ERROR_MESSAGE_MALFORMED_REQUEST "malformed request"

AGS_OSC_RESPONSE_ERROR_MESSAGE_UNKNOWN_PATH

#define AGS_OSC_RESPONSE_ERROR_MESSAGE_UNKNOWN_PATH "unknown path"

AGS_OSC_RESPONSE_ERROR_MESSAGE_UNKNOWN_ARGUMENT

#define AGS_OSC_RESPONSE_ERROR_MESSAGE_UNKNOWN_ARGUMENT "unknown argument"

AGS_OSC_RESPONSE_ERROR_MESSAGE_MISSING_INDEX

#define AGS_OSC_RESPONSE_ERROR_MESSAGE_MISSING_INDEX "missing index"

AGS_OSC_RESPONSE_ERROR_MESSAGE_CHUNK_SIZE_EXCEEDED

#define AGS_OSC_RESPONSE_ERROR_MESSAGE_CHUNK_SIZE_EXCEEDED "chunk size exceeded"

AGS_OSC_RESPONSE_DEFAULT_CHUNK_SIZE

#define AGS_OSC_RESPONSE_DEFAULT_CHUNK_SIZE (131072)

enum AgsOscResponseFlags

Members

AGS_OSC_RESPONSE_EMPTY

   

AGS_OSC_RESPONSE_OK

   

AGS_OSC_RESPONSE_ERROR

   

AGS_TYPE_OSC_RESPONSE

#define AGS_TYPE_OSC_RESPONSE                (ags_osc_response_get_type ())

struct AgsOscResponse

struct AgsOscResponse;

struct AgsOscResponseClass

struct AgsOscResponseClass {
  GObjectClass gobject;
};

Property Details

The “error-message” property

  “error-message”            gchar *

The error message.

Flags: Read / Write

Default value: NULL

Since: 2.1.8


The “packet” property

  “packet”                   gpointer

The response packet.

Flags: Read / Write

Since: 2.1.0


The “packet-size” property

  “packet-size”              guint

The response packet's size.

Flags: Read / Write

Default value: 0

Since: 2.1.0