aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/lv2plug.in')
-rw-r--r--lv2/lv2plug.in/ns/ext/state/lv2-state.doap.ttl9
-rw-r--r--lv2/lv2plug.in/ns/ext/state/manifest.ttl2
-rw-r--r--lv2/lv2plug.in/ns/ext/state/state.h1
-rw-r--r--lv2/lv2plug.in/ns/ext/state/state.ttl17
4 files changed, 28 insertions, 1 deletions
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 @@
<http://drobilla.net/drobilla#me> ;
doap:maintainer <http://drobilla.net/drobilla#me> ;
doap:release [
+ doap:revision "2.3" ;
+ doap:created "2016-10-19" ;
+ dcs:blame <http://drobilla.net/drobilla#me> ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Add state:StateChanged for notification events."
+ ]
+ ]
+ ] , [
doap:revision "2.2" ;
doap:created "2016-07-31" ;
doap:file-release <http://lv2plug.in/spec/lv2-1.14.0.tar.bz2> ;
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 @@
<http://lv2plug.in/ns/ext/state>
a lv2:Specification ;
lv2:minorVersion 2 ;
- lv2:microVersion 2 ;
+ lv2:microVersion 3 ;
rdfs:seeAlso <state.ttl> .
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.</p>
<p>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.</p>
""" .
+
+state:Changed
+ a rdfs:Class ;
+ rdfs:label "State changed" ;
+ lv2:documentation """
+<p>A notification that the internal state of the plugin has been changed in a
+way that the host can not otherwise know about.</p>
+
+<p>This is a one-way notification, intended to be used as the type of an <a
+href="../atom/atom.html#Object">Object</a> sent from plugins when
+necessary.</p>
+
+<p>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.</p>
+""" .