diff options
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/ControlBindings.cpp | 2 | ||||
-rw-r--r-- | src/server/LV2Block.cpp | 2 | ||||
-rw-r--r-- | src/server/RunContext.cpp | 2 | ||||
-rw-r--r-- | src/server/events/SetPortValue.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/server/ControlBindings.cpp b/src/server/ControlBindings.cpp index 2a269cac..67842291 100644 --- a/src/server/ControlBindings.cpp +++ b/src/server/ControlBindings.cpp @@ -69,7 +69,7 @@ ControlBindings::binding_key(const Atom& binding) const LV2_Atom* num = nullptr; if (binding.type() == uris.atom_Object) { const LV2_Atom_Object_Body* obj = (const LV2_Atom_Object_Body*) - binding.get_body(); + binding.body(); if (obj->otype == uris.midi_Bender) { key = Key(Type::MIDI_BENDER); } else if (obj->otype == uris.midi_ChannelPressure) { diff --git a/src/server/LV2Block.cpp b/src/server/LV2Block.cpp index 765643d6..fd555c7f 100644 --- a/src/server/LV2Block.cpp +++ b/src/server/LV2Block.cpp @@ -669,7 +669,7 @@ get_port_value(const char* port_symbol, if (port && port->is_input() && port->value().is_valid()) { *size = port->value().size(); *type = port->value().type(); - return port->value().get_body(); + return port->value().body(); } return nullptr; diff --git a/src/server/RunContext.cpp b/src/server/RunContext.cpp index ee272d46..6efc81ee 100644 --- a/src/server/RunContext.cpp +++ b/src/server/RunContext.cpp @@ -116,7 +116,7 @@ RunContext::emit_notifications(FrameTime end) if (_event_sink->read(sizeof(note), ¬e) == sizeof(note)) { Atom value = _engine.world()->forge().alloc( note.size, note.type, nullptr); - if (_event_sink->read(note.size, value.get_body()) == note.size) { + if (_event_sink->read(note.size, value.body()) == note.size) { i += note.size; const char* key = _engine.world()->uri_map().unmap_uri(note.key); if (key) { diff --git a/src/server/events/SetPortValue.cpp b/src/server/events/SetPortValue.cpp index fa36d739..c0087d8f 100644 --- a/src/server/events/SetPortValue.cpp +++ b/src/server/events/SetPortValue.cpp @@ -112,7 +112,7 @@ SetPortValue::apply(RunContext& context) if (!buf->append_event(_time - context.start(), _value.size(), _value.type(), - (const uint8_t*)_value.get_body())) { + (const uint8_t*)_value.body())) { _status = Status::NO_SPACE; } } else if (buf->type() == uris.atom_URID) { |