From ac325cea25ed8fef467ae7888da131d1d166b960 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 5 Jul 2016 19:14:25 +0200 Subject: implement lv2:designation processing#enable (for bypass ports) --- libs/ardour/ardour/lv2_extensions.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'libs/ardour/ardour/lv2_extensions.h') diff --git a/libs/ardour/ardour/lv2_extensions.h b/libs/ardour/ardour/lv2_extensions.h index e299b0864a..64fc3bc615 100644 --- a/libs/ardour/ardour/lv2_extensions.h +++ b/libs/ardour/ardour/lv2_extensions.h @@ -139,4 +139,36 @@ typedef struct _LV2_License_Interface { @} */ +/** + @defgroup plugin provided bypass + + A port with the designation "processing#enable" must + control a plugin's internal bypass mode. + + If the port value is larger than zero the plugin processes + normally. + + If the port value is zero, the plugin is expected to bypass + all signals unmodified. + + The plugin is responsible for providing a click-free transition + between the states. + + (values less than zero are reserved for future use: + e.g click-free insert/removal of latent plugins. + Generally values <= 0 are to be treated as bypassed.) + + lv2:designation ; + + @{ +*/ + +#define LV2_PROCESSING_URI "http://ardour.org/lv2/processing" +#define LV2_PROCESSING_URI_PREFIX LV2_PROCESSING_URI "#" +#define LV2_PROCESSING_URI__enable LV2_PROCESSING_URI_PREFIX "enable" + +/** + @} +*/ + #endif -- cgit v1.2.3