LV2  1.0.13
Data Structures | Macros | Typedefs
uri-map.h File Reference

C header for the LV2 URI Map extension http://lv2plug.in/ns/ext/uri-map. More...

Data Structures

struct  LV2_URI_Map_Feature
 URI Map Feature. More...
 

Macros

#define LV2_URI_MAP_URI   "http://lv2plug.in/ns/ext/uri-map"
 

Typedefs

typedef void * LV2_URI_Map_Callback_Data
 Opaque pointer to host data. More...
 

Detailed Description

C header for the LV2 URI Map extension http://lv2plug.in/ns/ext/uri-map.

This extension defines a simple mechanism for plugins to map URIs to integers, usually for performance reasons (e.g. processing events typed by URIs in real time). The expected use case is for plugins to map URIs to integers for things they 'understand' at instantiation time, and store those values for use in the audio thread without doing any string comparison. This allows the extensibility of RDF with the performance of integers (or centrally defined enumerations).

Macro Definition Documentation

#define LV2_URI_MAP_URI   "http://lv2plug.in/ns/ext/uri-map"

Typedef Documentation

Opaque pointer to host data.