Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
lv2_urid.h
1/*
2 * SPDX-FileCopyrightText: © 2019 Alexandros Theodotou <alex@zrythm.org>
3 *
4 * SPDX-License-Identifier: LicenseRef-ZrythmLicense
5 */
6
7#ifndef __PLUGINS_LV2_URID_H__
8#define __PLUGINS_LV2_URID_H__
9
10#include <lv2/urid/urid.h>
11
22typedef struct Lv2URIDs
23{
24 LV2_URID atom_Float;
25 LV2_URID atom_Int;
26 LV2_URID atom_Object;
27 LV2_URID atom_Path;
28 LV2_URID atom_String;
29 LV2_URID atom_eventTransfer;
30 LV2_URID bufsz_maxBlockLength;
31 LV2_URID bufsz_minBlockLength;
32 LV2_URID bufsz_nominalBlockLength;
33 LV2_URID bufsz_sequenceSize;
34 LV2_URID log_Error;
35 LV2_URID log_Trace;
36 LV2_URID log_Warning;
37 LV2_URID midi_MidiEvent;
38 LV2_URID param_sampleRate;
39 LV2_URID patch_Get;
40 LV2_URID patch_Put;
41 LV2_URID patch_Set;
42 LV2_URID patch_body;
43 LV2_URID patch_property;
44 LV2_URID patch_value;
45 LV2_URID time_Position;
46 LV2_URID time_bar;
47 LV2_URID time_barBeat;
48 LV2_URID time_beatUnit;
49 LV2_URID time_beatsPerBar;
50 LV2_URID time_beatsPerMinute;
51 LV2_URID time_frame;
52 LV2_URID time_speed;
53 LV2_URID ui_updateRate;
54 LV2_URID ui_scaleFactor;
55
56 /* Non-standard URIs */
57 LV2_URID z_hostInfo_name;
58 LV2_URID z_hostInfo_version;
59} Lv2URIDs;
60
67LV2_URID
68lv2_urid_map_uri (LV2_URID_Map_Handle handle, const char * uri);
69
73const char *
74lv2_urid_unmap_uri (LV2_URID_Unmap_Handle handle, LV2_URID urid);
75
80#endif
const char * lv2_urid_unmap_uri(LV2_URID_Unmap_Handle handle, LV2_URID urid)
URID feature unmap implementation.
LV2_URID lv2_urid_map_uri(LV2_URID_Map_Handle handle, const char *uri)
URID feature map implementation.
Cached URIDs for quick access (instead of having to use symap).
Definition lv2_urid.h:23