From cb35f7aa4a179673598c77282390d9a4084f6f2a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Apr 2012 23:47:14 +0000 Subject: Use URI defines from LV2 headers where possible. git-svn-id: http://svn.drobilla.net/lad/trunk/sratom@4175 a436a847-0d15-0410-975c-d299462d15a1 --- tests/sratom_test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/sratom_test.c b/tests/sratom_test.c index f992153..3f7cf17 100644 --- a/tests/sratom_test.c +++ b/tests/sratom_test.c @@ -22,8 +22,7 @@ #include "lv2/lv2plug.in/ns/ext/atom/util.h" #include "sratom/sratom.h" -#define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#" -#define NS_MIDI "http://lv2plug.in/ns/ext/midi#" +#define NS_RDF "http://www.w3.org/1999/02/22-rdf-syntax-ns#" #define USTR(s) ((const uint8_t*)(s)) @@ -199,7 +198,7 @@ main() lv2_atom_forge_vector(&forge, 4, forge.Int, sizeof(int32_t), elems); // eg_seq = (Sequence)1, 2 - LV2_URID midi_midiEvent = map.map(map.handle, NS_MIDI "MidiEvent"); + LV2_URID midi_midiEvent = map.map(map.handle, LV2_MIDI__MidiEvent); lv2_atom_forge_property_head(&forge, eg_seq, 0); LV2_Atom_Forge_Frame seq_frame; lv2_atom_forge_sequence_head(&forge, &seq_frame, 0); -- cgit v1.2.1