Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
host_info.h File Reference

LV2 extension to allow plugins to receive information about the host. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define Z_LV2_EXT_URI   "https://lv2.zrythm.org/ns/ext"
 
#define Z_LV2_HOST_INFO_URI   Z_LV2_EXT_URI "/host-info"
 
#define Z_LV2_HOST_INFO_PREFIX   Z_LV2_HOST_INFO_URI "#"
 
#define Z_LV2_HOST_INFO__name   Z_LV2_HOST_INFO_PREFIX "name"
 
#define Z_LV2_HOST_INFO__version   Z_LV2_HOST_INFO_PREFIX "version"
 

Detailed Description

LV2 extension to allow plugins to receive information about the host.

Hosts supporting this extension should pass an LV2_Options_Option for each piece of information when instantiating a plugin. For example:

context: LV2_OPTIONS_INSTANCE subject: 0 key: Z_LV2_HOST_INFO__name size: sizeof (const char *) type: <URID of LV2_ATOM__String> value: Pointer to string

Note
This feature MUST ONLY be used by plugins to display the host's information somewhere. Plugins MUST NOT behave differently in different hosts.

Definition in file host_info.h.