AgsOscResponse

AgsOscResponse — the OSC server side response

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

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_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: 3.0.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: 3.0.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: 3.0.0


ags_osc_response_new ()

AgsOscResponse *
ags_osc_response_new ();

Creates a new instance of AgsOscResponse

Returns

the new AgsOscResponse

Since: 3.0.0

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

Enum values to configure OSC response.

Members

AGS_OSC_RESPONSE_EMPTY

is empty

 

AGS_OSC_RESPONSE_OK

is OK

 

AGS_OSC_RESPONSE_ERROR

has error