LMMS
Loading...
Searching...
No Matches
event.h
Go to the documentation of this file.
1/*
2 Copyright 2008-2016 David Robillard <http://drobilla.net>
3 Copyright 2006-2007 Lars Luthman <lars.luthman@gmail.com>
4
5 Permission to use, copy, modify, and/or distribute this software for any
6 purpose with or without fee is hereby granted, provided that the above
7 copyright notice and this permission notice appear in all copies.
8
9 THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16*/
17
26
27#ifndef LV2_EVENT_H
28#define LV2_EVENT_H
29
30#define LV2_EVENT_URI "http://lv2plug.in/ns/ext/event"
31#define LV2_EVENT_PREFIX LV2_EVENT_URI "#"
32
33#define LV2_EVENT__Event LV2_EVENT_PREFIX "Event"
34#define LV2_EVENT__EventPort LV2_EVENT_PREFIX "EventPort"
35#define LV2_EVENT__FrameStamp LV2_EVENT_PREFIX "FrameStamp"
36#define LV2_EVENT__TimeStamp LV2_EVENT_PREFIX "TimeStamp"
37#define LV2_EVENT__generatesTimeStamp LV2_EVENT_PREFIX "generatesTimeStamp"
38#define LV2_EVENT__generic LV2_EVENT_PREFIX "generic"
39#define LV2_EVENT__inheritsEvent LV2_EVENT_PREFIX "inheritsEvent"
40#define LV2_EVENT__inheritsTimeStamp LV2_EVENT_PREFIX "inheritsTimeStamp"
41#define LV2_EVENT__supportsEvent LV2_EVENT_PREFIX "supportsEvent"
42#define LV2_EVENT__supportsTimeStamp LV2_EVENT_PREFIX "supportsTimeStamp"
43
44#define LV2_EVENT_AUDIO_STAMP 0
45
46#include <stdint.h>
47
48#ifdef __cplusplus
49extern "C" {
50#endif
51
57static const uint32_t LV2_EVENT_PPQN = 3136573440U;
58
72typedef struct {
80
87
105
111
112 /* size bytes of data follow here */
113} LV2_Event;
114
115
210
211
216
217
283
284#ifdef __cplusplus
285} /* extern "C" */
286#endif
287
288#endif /* LV2_EVENT_H */
289
static const uint32_t LV2_EVENT_PPQN
Definition event.h:57
void * LV2_Event_Callback_Data
Definition event.h:215
LV2_DEPRECATED typedef void * LV2_Event_Callback_Data
Definition event.h:227
unsigned short uint16_t
Definition mid.cpp:99
unsigned int uint32_t
Definition mid.cpp:100
unsigned char uint8_t
Definition mid.cpp:98
Definition event.h:132
uint32_t event_count
Definition event.h:186
uint16_t stamp_type
Definition event.h:173
uint32_t capacity
Definition event.h:193
uint32_t size
Definition event.h:208
uint16_t header_size
Definition event.h:148
uint8_t * data
Definition event.h:139
Definition event.h:226
uint32_t(* lv2_event_ref)(LV2_Event_Callback_Data callback_data, LV2_Event *event)
Definition event.h:257
LV2_Event_Callback_Data callback_data
Definition event.h:233
uint32_t(* lv2_event_unref)(LV2_Event_Callback_Data callback_data, LV2_Event *event)
Definition event.h:280
Definition event.h:72
uint16_t size
Definition event.h:110
uint16_t type
Definition event.h:104
uint32_t subframes
Definition event.h:86
uint32_t frames
Definition event.h:79