From dbb18d82136d43eec435e321bffa835ba5776d6e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 19 Oct 2016 19:03:15 +0200 Subject: Add state:StateChanged for notification events --- lv2/lv2plug.in/ns/ext/state/lv2-state.doap.ttl | 9 +++++++++ lv2/lv2plug.in/ns/ext/state/manifest.ttl | 2 +- lv2/lv2plug.in/ns/ext/state/state.h | 1 + lv2/lv2plug.in/ns/ext/state/state.ttl | 17 +++++++++++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) (limited to 'lv2/lv2plug.in/ns/ext') diff --git a/lv2/lv2plug.in/ns/ext/state/lv2-state.doap.ttl b/lv2/lv2plug.in/ns/ext/state/lv2-state.doap.ttl index b5cf89d..7ff2b68 100644 --- a/lv2/lv2plug.in/ns/ext/state/lv2-state.doap.ttl +++ b/lv2/lv2plug.in/ns/ext/state/lv2-state.doap.ttl @@ -14,6 +14,15 @@ ; doap:maintainer ; doap:release [ + doap:revision "2.3" ; + doap:created "2016-10-19" ; + dcs:blame ; + dcs:changeset [ + dcs:item [ + rdfs:label "Add state:StateChanged for notification events." + ] + ] + ] , [ doap:revision "2.2" ; doap:created "2016-07-31" ; doap:file-release ; diff --git a/lv2/lv2plug.in/ns/ext/state/manifest.ttl b/lv2/lv2plug.in/ns/ext/state/manifest.ttl index 6ce7324..2a54874 100644 --- a/lv2/lv2plug.in/ns/ext/state/manifest.ttl +++ b/lv2/lv2plug.in/ns/ext/state/manifest.ttl @@ -4,5 +4,5 @@ a lv2:Specification ; lv2:minorVersion 2 ; - lv2:microVersion 2 ; + lv2:microVersion 3 ; rdfs:seeAlso . diff --git a/lv2/lv2plug.in/ns/ext/state/state.h b/lv2/lv2plug.in/ns/ext/state/state.h index df04f66..f2a4afa 100644 --- a/lv2/lv2plug.in/ns/ext/state/state.h +++ b/lv2/lv2plug.in/ns/ext/state/state.h @@ -42,6 +42,7 @@ #define LV2_STATE__mapPath LV2_STATE_PREFIX "mapPath" ///< http://lv2plug.in/ns/ext/state#mapPath #define LV2_STATE__state LV2_STATE_PREFIX "state" ///< http://lv2plug.in/ns/ext/state#state #define LV2_STATE__threadSafeRestore LV2_STATE_PREFIX "threadSafeRestore" ///< http://lv2plug.in/ns/ext/state#threadSafeRestore +#define LV2_STATE__StateChanged LV2_STATE_PREFIX "StateChanged" ///< http://lv2plug.in/ns/ext/state#StateChanged #ifdef __cplusplus extern "C" { diff --git a/lv2/lv2plug.in/ns/ext/state/state.ttl b/lv2/lv2plug.in/ns/ext/state/state.ttl index a5b205e..77137bb 100644 --- a/lv2/lv2plug.in/ns/ext/state/state.ttl +++ b/lv2/lv2plug.in/ns/ext/state/state.ttl @@ -364,3 +364,20 @@ which emits a response which is later applied in the audio thread.

The host is not required to block run() while restore() and work() load the state, so this feature allows state to be restored without dropouts.

""" . + +state:Changed + a rdfs:Class ; + rdfs:label "State changed" ; + lv2:documentation """ +

A notification that the internal state of the plugin has been changed in a +way that the host can not otherwise know about.

+ +

This is a one-way notification, intended to be used as the type of an Object sent from plugins when +necessary.

+ +

Plugins SHOULD emit such an event whenever a change has occurred that would +reesult in a different state being saved, but not when the host explicity makes +a change which it knows is likely to have that effect, such as changing a +parameter.

+""" . -- cgit v1.2.1