From 1cc561bf74c4e3376b5631a530754078e8ff8772 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 19 Oct 2016 19:45:35 +0200 Subject: Use official LV2 state:StateChanged URI http://lv2plug.in/git/cgit.cgi/lv2.git/commit/?id=dbb18d82136d43eec435e321bffa835ba5776d6e --- libs/ardour/lv2_plugin.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libs/ardour/lv2_plugin.cc') diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 717e933ebf..91ab6b43a4 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -2692,19 +2692,18 @@ LV2Plugin::connect_and_run(BufferSet& bufs, } } } - +#endif // Intercept state dirty message if (_has_state_interface /* && (flags & PORT_DIRTYMSG)*/) { LV2_Atom* atom = (LV2_Atom*)(data - sizeof(LV2_Atom)); 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_Dirty) { + if (obj->body.otype == _uri_map.urids.state_Changed) { _session.set_dirty (); } } } -#endif // Intercept patch change messages to emit PropertyChanged signal if ((flags & PORT_PATCHMSG)) { -- cgit v1.2.3