Fix typos leading to state not being saved
This commit is contained in:
parent
f244f3b09b
commit
f7ae7079c9
2
drmr.c
2
drmr.c
@ -543,7 +543,7 @@ restore_state(LV2_Handle instance,
|
|||||||
|
|
||||||
static const void* extension_data(const char* uri) {
|
static const void* extension_data(const char* uri) {
|
||||||
static const LV2_State_Interface state_iface = { save_state, restore_state };
|
static const LV2_State_Interface state_iface = { save_state, restore_state };
|
||||||
if (!strcmp(uri, LV2_STATE_URI "#Interface")) return &state_iface;
|
if (!strcmp(uri, LV2_STATE__interface)) return &state_iface;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
drmr.ttl
2
drmr.ttl
@ -19,7 +19,7 @@
|
|||||||
doap:license <http://usefulinc.com/doap/licenses/gpl> ;
|
doap:license <http://usefulinc.com/doap/licenses/gpl> ;
|
||||||
lv2:requiredFeature urid:map ;
|
lv2:requiredFeature urid:map ;
|
||||||
ui:ui <http://github.com/nicklan/drmr#ui> ;
|
ui:ui <http://github.com/nicklan/drmr#ui> ;
|
||||||
lv2:extensionData <http://lv2plug.in/ns/ext/state#Interface> ;
|
lv2:extensionData <http://lv2plug.in/ns/ext/state#interface> ;
|
||||||
lv2:port [
|
lv2:port [
|
||||||
a lv2:InputPort , atom:AtomPort;
|
a lv2:InputPort , atom:AtomPort;
|
||||||
atom:bufferType atom:Sequence ;
|
atom:bufferType atom:Sequence ;
|
||||||
|
Loading…
Reference in New Issue
Block a user