LMMS
Loading...
Searching...
No Matches
Lv2Evbuf.h
Go to the documentation of this file.
1/*
2 * Lv2Evbuf.h - Lv2 event buffer definitions
3 *
4 * Copyright (c) 2019-2020 Johannes Lorenz <jlsf2013$users.sourceforge.net, $=@>
5 *
6 * This file is part of LMMS - https://lmms.io
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public
19 * License along with this program (see COPYING); if not, write to the
20 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301 USA.
22 *
23 */
24
25/*
26 * The original code was written by David Robillard <http://drobilla.net>
27 * Original version: 6f22ee0 from https://github.com/drobilla/jalv.git
28 * Minor changes have been done, but no functional changes.
29 * Considering this as an "external library", the identifiers do not need to
30 * match the LMMS coding conventions.
31 */
32
33#ifndef LMMS_LV2_EVBUF_H
34#define LMMS_LV2_EVBUF_H
35
36#include "lmmsconfig.h"
37
38#ifdef LMMS_HAVE_LV2
39
40#include <cstdint>
41
42
43namespace lmms
44{
45
46
51
60
67
71void
73
81void
82lv2_evbuf_reset(LV2_Evbuf* evbuf, bool input);
83
89
94void*
96
102
108
113bool
115
123
132bool
134 uint32_t* frames,
135 uint32_t* type,
136 uint32_t* size,
137 uint8_t** data);
138
146bool
148 uint32_t frames,
151 const uint8_t* data);
152
153
154} // namespace lmms
155
156#endif // LMMS_HAVE_LV2
157
158#endif // LMMS_LV2_EVBUF_H
CAdPlugDatabase::CRecord::RecordType type
Definition adplugdb.cpp:93
JSAMPIMAGE data
Definition jpeglib.h:945
static LilvNode * atom_Sequence
Definition lv2bench.c:31
unsigned int uint32_t
Definition mid.cpp:100
unsigned char uint8_t
Definition mid.cpp:98
Definition AudioAlsa.cpp:35
LV2_Evbuf_Iterator lv2_evbuf_begin(LV2_Evbuf *evbuf)
Definition Lv2Evbuf.cpp:103
void * lv2_evbuf_get_buffer(LV2_Evbuf *evbuf)
Definition Lv2Evbuf.cpp:97
void lv2_evbuf_free(LV2_Evbuf *evbuf)
Definition Lv2Evbuf.cpp:69
struct LV2_Evbuf_Impl LV2_Evbuf
Definition Lv2Evbuf.h:50
bool lv2_evbuf_is_valid(LV2_Evbuf_Iterator iter)
Definition Lv2Evbuf.cpp:118
uint32_t lv2_evbuf_get_size(LV2_Evbuf *evbuf)
Definition Lv2Evbuf.cpp:87
bool lv2_evbuf_write(LV2_Evbuf_Iterator *iter, uint32_t frames, uint32_t type, uint32_t size, const uint8_t *data)
Definition Lv2Evbuf.cpp:167
LV2_Evbuf * lv2_evbuf_new(uint32_t capacity, uint32_t atom_Chunk, uint32_t atom_Sequence)
Definition Lv2Evbuf.cpp:57
void lv2_evbuf_reset(LV2_Evbuf *evbuf, bool input)
Definition Lv2Evbuf.cpp:75
LV2_Evbuf_Iterator lv2_evbuf_next(LV2_Evbuf_Iterator iter)
Definition Lv2Evbuf.cpp:124
LV2_Evbuf_Iterator lv2_evbuf_end(LV2_Evbuf *evbuf)
Definition Lv2Evbuf.cpp:110
bool lv2_evbuf_get(LV2_Evbuf_Iterator iter, uint32_t *frames, uint32_t *type, uint32_t *size, uint8_t **data)
Definition Lv2Evbuf.cpp:142
Definition Lv2Evbuf.cpp:43
Definition Lv2Evbuf.h:56
LV2_Evbuf * evbuf
Definition Lv2Evbuf.h:57
uint32_t offset
Definition Lv2Evbuf.h:58
ulg size
Definition extract.c:2350