summaryrefslogtreecommitdiffstats
path: root/src/engine/BufferFactory.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-11-30 23:01:30 +0000
committerDavid Robillard <d@drobilla.net>2010-11-30 23:01:30 +0000
commit27c3aec25ca4eefa88df64b63d50ed4451bec190 (patch)
tree9ec17eeb9ad9080cca2f3a350afe31d696c68638 /src/engine/BufferFactory.cpp
parentd2f94aa4fd3472ff86fea5abe7a58d15a90d3264 (diff)
downloadingen-27c3aec25ca4eefa88df64b63d50ed4451bec190.tar.gz
ingen-27c3aec25ca4eefa88df64b63d50ed4451bec190.tar.bz2
ingen-27c3aec25ca4eefa88df64b63d50ed4451bec190.zip
Consistent naming for URI quarks.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2678 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/BufferFactory.cpp')
-rw-r--r--src/engine/BufferFactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/BufferFactory.cpp b/src/engine/BufferFactory.cpp
index 75803649..0d2fc76e 100644
--- a/src/engine/BufferFactory.cpp
+++ b/src/engine/BufferFactory.cpp
@@ -133,12 +133,12 @@ BufferFactory::create(Shared::PortType type, size_t size)
if (type.is_control()) {
AudioBuffer* ret = new AudioBuffer(*this, type, size);
- ret->atom()->type = _uris->object_class_vector.id;
- ((LV2_Atom_Vector*)ret->atom()->body)->elem_type = _uris->object_class_float32.id;
+ ret->atom()->type = _uris->atom_Vector.id;
+ ((LV2_Atom_Vector*)ret->atom()->body)->elem_type = _uris->atom_Float32.id;
buffer = ret;
} else if (type.is_audio()) {
AudioBuffer* ret = new AudioBuffer(*this, type, size);
- ret->atom()->type = _uris->object_class_float32.id;
+ ret->atom()->type = _uris->atom_Float32.id;
buffer = ret;
} else if (type.is_events()) {
buffer = new EventBuffer(*this, size);