path: root/lv2/lv2plug.in/ns/ext/state/state.ttl
diff options
authorDavid Robillard <d@drobilla.net>2013-01-26 21:13:34 +0000
committerDavid Robillard <d@drobilla.net>2013-01-26 21:13:34 +0000
commit8b8fd29712602c7352fee7763662f4fc103363a8 (patch)
treebf3667aa52ee2b81eb83bed22bf6f1807937a43d /lv2/lv2plug.in/ns/ext/state/state.ttl
parent698d99776edae1d98201894c878f6e2c87d610ba (diff)
Add state:loadDefaultState feature.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/state/state.ttl')
1 files changed, 13 insertions, 0 deletions
diff --git a/lv2/lv2plug.in/ns/ext/state/state.ttl b/lv2/lv2plug.in/ns/ext/state/state.ttl
index a9b997c..699ef45 100644
--- a/lv2/lv2plug.in/ns/ext/state/state.ttl
+++ b/lv2/lv2plug.in/ns/ext/state/state.ttl
@@ -240,6 +240,19 @@ the properties of the state dictionary (except the property that states it has
this type).</p>
""" .
+ a lv2:Feature ;
+ lv2:documentation """
+<p>This feature indicates that the plugin has default state listed with the
+state:state property which should be loaded by the host before running the
+plugin. Requiring this feature allows plugins to implement a single state
+loading mechanism which works for initialisation as well as restoration,
+without having to hard-code default state.</p>
+<p>To support this feature, the host MUST <q>restore</q> the default state
+after instantiating the plugin but before calling run().</p>
+""" .
a rdf:Property ;
rdfs:label "state" ;