AgsLv2Worker

AgsLv2Worker — task thread

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── AgsLv2Worker

Implemented Interfaces

AgsLv2Worker implements AgsConnectable.

Includes

#include <ags/plugin/ags_lv2_worker.h>

Description

The AgsLv2Worker acts as task queue thread.

Functions

AGS_LV2_WORKER_RESPONSE_DATA()

#define AGS_LV2_WORKER_RESPONSE_DATA(ptr) ((AgsLv2WorkerResponseData *)(ptr))


ags_lv2_worker_alloc_response_data ()

AgsLv2WorkerResponseData *
ags_lv2_worker_alloc_response_data ();


ags_lv2_worker_free_response_data ()

void
ags_lv2_worker_free_response_data (AgsLv2WorkerResponseData *response_data);


ags_lv2_worker_respond ()

LV2_Worker_Status
ags_lv2_worker_respond (LV2_Worker_Respond_Handle handle,
                        uint32_t size,
                        const void *data);


ags_lv2_worker_schedule_work ()

LV2_Worker_Status
ags_lv2_worker_schedule_work (LV2_Worker_Schedule_Handle handle,
                              uint32_t size,
                              const void *data);


ags_lv2_worker_safe_run ()

void
ags_lv2_worker_safe_run (AgsReturnableThread *returnable_thread,
                         gpointer data);


ags_lv2_worker_new ()

AgsLv2Worker *
ags_lv2_worker_new (AgsThread *returnable_thread);

Create a new AgsLv2Worker.

Parameters

returnable_thread

an AgsReturnableThread

 

Returns

the new AgsLv2Worker

Since: 0.4

Types and Values

enum AgsLv2WorkerFlags

Members

AGS_LV2_WORKER_RUN

   

struct AgsLv2WorkerResponseData

struct AgsLv2WorkerResponseData {
  uint32_t size;
  void *data;
};