summaryrefslogtreecommitdiffstats
path: root/src/shared/LV2Atom.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-16 22:27:16 +0000
committerDavid Robillard <d@drobilla.net>2012-03-16 22:27:16 +0000
commitbc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9 (patch)
treeb42f56620ce85f6207568eadfb901360436c6f74 /src/shared/LV2Atom.cpp
parent7126f005be3e49818dafe0d2666b6745e09f8aff (diff)
downloadingen-bc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9.tar.gz
ingen-bc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9.tar.bz2
ingen-bc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9.zip
Preliminary work towards native LV2 UI.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4074 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared/LV2Atom.cpp')
-rw-r--r--src/shared/LV2Atom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/LV2Atom.cpp b/src/shared/LV2Atom.cpp
index 63686bf5..ccd5f352 100644
--- a/src/shared/LV2Atom.cpp
+++ b/src/shared/LV2Atom.cpp
@@ -43,7 +43,7 @@ to_atom(Raul::Forge* forge,
} else if (object->type == uris.atom_Bool.id) {
atom = forge->make((bool)(int32_t*)(object + 1));
return true;
- } else if (object->type == uris.atom_Int32.id) {
+ } else if (object->type == uris.atom_Int.id) {
atom = forge->make((int32_t*)(object + 1));
return true;
} else if (object->type == uris.atom_Float.id) {
@@ -67,7 +67,7 @@ from_atom(const Shared::URIs& uris, const Raul::Atom& atom, LV2_Atom* object)
*(float*)(object + 1) = atom.get_float();
break;
case Raul::Atom::INT:
- object->type = uris.atom_Int32.id;
+ object->type = uris.atom_Int.id;
object->size = sizeof(int32_t);
*(int32_t*)(object + 1) = atom.get_int32();
break;