Fix LV2 state:StateChanged URI
This commit is contained in:
parent
932cc4d347
commit
ea10a896c6
|
@ -84,7 +84,7 @@ public:
|
|||
uint32_t patch_Set;
|
||||
uint32_t patch_property;
|
||||
uint32_t patch_value;
|
||||
uint32_t state_Changed;
|
||||
uint32_t state_StateChanged;
|
||||
#ifdef LV2_EXTENDED
|
||||
uint32_t auto_event;
|
||||
uint32_t auto_setup;
|
||||
|
|
|
@ -2777,7 +2777,7 @@ LV2Plugin::connect_and_run(BufferSet& bufs,
|
|||
if (atom->type == _uri_map.urids.atom_Blank ||
|
||||
atom->type == _uri_map.urids.atom_Object) {
|
||||
LV2_Atom_Object* obj = (LV2_Atom_Object*)atom;
|
||||
if (obj->body.otype == _uri_map.urids.state_Changed) {
|
||||
if (obj->body.otype == _uri_map.urids.state_StateChanged) {
|
||||
_session.set_dirty ();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ URIMap::URIDs::init(URIMap& uri_map)
|
|||
patch_Set = uri_map.uri_to_id("http://lv2plug.in/ns/ext/patch#Set");
|
||||
patch_property = uri_map.uri_to_id("http://lv2plug.in/ns/ext/patch#property");
|
||||
patch_value = uri_map.uri_to_id("http://lv2plug.in/ns/ext/patch#value");
|
||||
state_Changed = uri_map.uri_to_id("http://lv2plug.in/ns/ext/state/#StateChanged"); // since LV2 1.15.1
|
||||
state_StateChanged = uri_map.uri_to_id("http://lv2plug.in/ns/ext/state#StateChanged"); // since LV2 1.15.1
|
||||
#ifdef LV2_EXTENDED
|
||||
auto_event = uri_map.uri_to_id(LV2_AUTOMATE_URI__event);
|
||||
auto_setup = uri_map.uri_to_id(LV2_AUTOMATE_URI__setup);
|
||||
|
|
Loading…
Reference in New Issue
Block a user