aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/Updates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/Updates.cpp')
-rw-r--r--src/engine/Updates.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/engine/Updates.cpp b/src/engine/Updates.cpp
index 5d37936..3193d41 100644
--- a/src/engine/Updates.cpp
+++ b/src/engine/Updates.cpp
@@ -16,10 +16,9 @@
#include "lv2/lv2plug.in/ns/ext/atom/atom.h"
-#include "raul/Atom.hpp"
-
-#include "machina/types.hpp"
+#include "machina/Atom.hpp"
#include "machina/Updates.hpp"
+#include "machina/types.hpp"
namespace machina {
@@ -27,7 +26,7 @@ void
write_set(SPtr<Raul::RingBuffer> buf,
uint64_t subject,
URIInt key,
- const Raul::Atom& value)
+ const Atom& value)
{
const uint32_t update_type = UPDATE_SET;
buf->write(sizeof(update_type), &update_type);
@@ -43,7 +42,7 @@ uint32_t
read_set(SPtr<Raul::RingBuffer> buf,
uint64_t* subject,
URIInt* key,
- Raul::Atom* value)
+ Atom* value)
{
uint32_t update_type;
buf->read(sizeof(update_type), &update_type);
@@ -56,7 +55,7 @@ read_set(SPtr<Raul::RingBuffer> buf,
LV2_Atom atom;
buf->read(sizeof(LV2_Atom), &atom);
- *value = Raul::Atom(atom.size, atom.type, NULL);
+ *value = Atom(atom.size, atom.type, NULL);
buf->read(atom.size, value->get_body());
return sizeof(update_type) + sizeof(*subject) + sizeof(*key)