From a377fe171dd248f9418634f5f23d10a9440fd920 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 4 May 2010 04:22:46 +0000 Subject: Rename "object" extension "atom" extension. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2561 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/AudioBuffer.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/engine/AudioBuffer.cpp') diff --git a/src/engine/AudioBuffer.cpp b/src/engine/AudioBuffer.cpp index e29fa5c4..2fc39818 100644 --- a/src/engine/AudioBuffer.cpp +++ b/src/engine/AudioBuffer.cpp @@ -19,7 +19,7 @@ #include #include "raul/log.hpp" #include "raul/SharedPtr.hpp" -#include "object.lv2/object.h" +#include "atom.lv2/atom.h" #include "ingen-config.h" #include "AudioBuffer.hpp" #include "ProcessContext.hpp" @@ -42,29 +42,29 @@ AudioBuffer::AudioBuffer(BufferFactory& bufs, Shared::PortType type, size_t size , _set_value(0) , _set_time(0) { - assert(size >= sizeof(LV2_Object) + sizeof(Sample)); + assert(size >= sizeof(LV2_Atom) + sizeof(Sample)); assert(this->size() >= size); assert(data()); _type = type; // Control port / Single float object if (type == PortType::CONTROL) { - object()->type = 0;//map->float_type; + atom()->type = 0;//map->float_type; // Audio port / Vector of float } else { assert(type == PortType::AUDIO); - object()->type = 0;//map->vector_type; - LV2_Vector_Body* body = (LV2_Vector_Body*)object()->body; + atom()->type = 0;//map->vector_type; + LV2_Vector_Body* body = (LV2_Vector_Body*)atom()->body; body->elem_count = size / sizeof(Sample); body->elem_type = 0;//map->float_type; } /*debug << "Created Audio Buffer" << endl - << "\tobject @ " << (void*)object() << endl - << "\tbody @ " << (void*)object()->body - << "\t(offset " << (char*)object()->body - (char*)object() << ")" << endl + << "\tobject @ " << (void*)atom() << endl + << "\tbody @ " << (void*)atom()->body + << "\t(offset " << (char*)atom()->body - (char*)atom() << ")" << endl << "\tdata @ " << (void*)data() - << "\t(offset " << (char*)data() - (char*)object() << ")" + << "\t(offset " << (char*)data() - (char*)atom() << ")" << endl;*/ clear(); -- cgit v1.2.1