LMMS
Loading...
Searching...
No Matches
worker.h
Go to the documentation of this file.
1/*
2 Copyright 2012-2016 David Robillard <http://drobilla.net>
3
4 Permission to use, copy, modify, and/or distribute this software for any
5 purpose with or without fee is hereby granted, provided that the above
6 copyright notice and this permission notice appear in all copies.
7
8 THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*/
16
25
26#ifndef LV2_WORKER_H
27#define LV2_WORKER_H
28
29#include <stdint.h>
30
31#include "lv2.h"
32
33#define LV2_WORKER_URI "http://lv2plug.in/ns/ext/worker"
34#define LV2_WORKER_PREFIX LV2_WORKER_URI "#"
35
36#define LV2_WORKER__interface LV2_WORKER_PREFIX "interface"
37#define LV2_WORKER__schedule LV2_WORKER_PREFIX "schedule"
38
39#ifdef __cplusplus
40extern "C" {
41#endif
42
51
54
65 const void* data);
66
122
125
168
169#ifdef __cplusplus
170} /* extern "C" */
171#endif
172
173#endif /* LV2_WORKER_H */
174
void * LV2_Handle
Definition lv2.h:133
LV2_Worker_Status(* LV2_Worker_Respond_Function)(LV2_Worker_Respond_Handle handle, uint32_t size, const void *data)
Definition worker.h:62
LV2_Worker_Status
Definition worker.h:46
void * LV2_Worker_Schedule_Handle
Definition worker.h:124
void * LV2_Worker_Respond_Handle
Definition worker.h:53
@ LV2_WORKER_SUCCESS
Definition worker.h:47
@ LV2_WORKER_ERR_UNKNOWN
Definition worker.h:48
@ LV2_WORKER_ERR_NO_SPACE
Definition worker.h:49
JSAMPIMAGE data
Definition jpeglib.h:945
unsigned int uint32_t
Definition mid.cpp:100
Definition worker.h:74
LV2_Worker_Status(* end_run)(LV2_Handle instance)
Definition worker.h:120
LV2_Worker_Status(* work_response)(LV2_Handle instance, uint32_t size, const void *body)
Definition worker.h:106
LV2_Worker_Status(* work)(LV2_Handle instance, LV2_Worker_Respond_Function respond, LV2_Worker_Respond_Handle handle, uint32_t size, const void *data)
Definition worker.h:92
Definition worker.h:132
LV2_Worker_Status(* schedule_work)(LV2_Worker_Schedule_Handle handle, uint32_t size, const void *data)
Definition worker.h:164
LV2_Worker_Schedule_Handle handle
Definition worker.h:136
Definition worker.h:80
Definition worker.h:138
ulg size
Definition extract.c:2350