aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-10-19 19:03:15 +0200
committerDavid Robillard <d@drobilla.net>2016-10-19 13:37:50 -0400
commitdbb18d82136d43eec435e321bffa835ba5776d6e (patch)
treea2ffeed04dffb16d5c7f232045ed876e3eaaed95
parent2cbbf14674d081c5d3405c12301f84c31285544a (diff)
downloadlv2-dbb18d82136d43eec435e321bffa835ba5776d6e.tar.xz
Add state:StateChanged for notification events
-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
-rw-r--r--wscript2
5 files changed, 29 insertions, 2 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>
+""" .
diff --git a/wscript b/wscript
index 44c7fa2..69268b8 100644
--- a/wscript
+++ b/wscript
@@ -15,7 +15,7 @@ import waflib.Utils as Utils
# Variables for 'waf dist'
APPNAME = 'lv2'
-VERSION = '1.14.1'
+VERSION = '1.15.1'
# Mandatory variables
top = '.'