Top |
#define | AGS_LV2_WORKER_GET_OBJ_MUTEX() |
#define | AGS_LV2_WORKER_RESPONSE_DATA() |
gboolean | ags_lv2_worker_test_flags () |
void | ags_lv2_worker_set_flags () |
void | ags_lv2_worker_unset_flags () |
AgsLv2WorkerResponseData * | ags_lv2_worker_alloc_response_data () |
void | ags_lv2_worker_free_response_data () |
LV2_Worker_Status | ags_lv2_worker_respond () |
LV2_Worker_Status | ags_lv2_worker_schedule_work () |
void | ags_lv2_worker_do_poll () |
AgsLv2Worker * | ags_lv2_worker_new () |
gpointer | handle | Read / Write |
gpointer | response-data | Read / Write |
gpointer | work-data | Read / Write |
guint | work-size | Read / Write |
AgsWorkerThread * | worker-thread | Read / Write |
#define AGS_LV2_WORKER_GET_OBJ_MUTEX(obj) (&(((AgsLv2Worker *) obj)->obj_mutex))
#define AGS_LV2_WORKER_RESPONSE_DATA(ptr) ((AgsLv2WorkerResponseData *)(ptr))
gboolean ags_lv2_worker_test_flags (AgsLv2Worker *lv2_worker
,guint flags
);
Test flags
to be set on recall
.
Since: 3.0.0
void ags_lv2_worker_set_flags (AgsLv2Worker *lv2_worker
,guint flags
);
Set flags.
Since: 3.0.0
void ags_lv2_worker_unset_flags (AgsLv2Worker *lv2_worker
,guint flags
);
Unset flags.
Since: 3.0.0
AgsLv2WorkerResponseData * ags_lv2_worker_alloc_response_data ();
Allocate a new AgsLv2WorkerResponseData.
Since: 3.0.0
void
ags_lv2_worker_free_response_data (AgsLv2WorkerResponseData *response_data
);
Free response_data
.
Since: 3.0.0
LV2_Worker_Status ags_lv2_worker_respond (LV2_Worker_Respond_Handle handle
,uint32_t data_size
,const void *data
);
Respond lv2 worker handle
.
Since: 3.0.0
LV2_Worker_Status ags_lv2_worker_schedule_work (LV2_Worker_Schedule_Handle handle
,uint32_t data_size
,const void *data
);
Schedule work of lv2 worker handle
.
Since: 3.0.0
void ags_lv2_worker_do_poll (AgsWorkerThread *worker_thread
,gpointer data
);
Safe run callback.
Since: 3.0.0
AgsLv2Worker * ags_lv2_worker_new ();
Create a new instance of AgsLv2Worker.
Since: 3.0.0
Enum values to control the behavior or indicate internal state of AgsLv2Worker by enable/disable as flags.
“handle”
property “handle” gpointer
The assigned LV2_Handle
Owner: AgsLv2Worker
Flags: Read / Write
Since: 3.0.0
“response-data”
property “response-data” gpointer
The assigned GList containing AgsLv2WorkerResponseData
Owner: AgsLv2Worker
Flags: Read / Write
Since: 3.0.0
“work-data”
property “work-data” gpointer
The assigned work data
Owner: AgsLv2Worker
Flags: Read / Write
Since: 3.0.0
“work-size”
property “work-size” guint
The work size.
Owner: AgsLv2Worker
Flags: Read / Write
Default value: 0
Since: 3.0.0