diff options
Diffstat (limited to 'src/engine/ObjectSender.cpp')
-rw-r--r-- | src/engine/ObjectSender.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/ObjectSender.cpp b/src/engine/ObjectSender.cpp index 75c25567..c25bf9c4 100644 --- a/src/engine/ObjectSender.cpp +++ b/src/engine/ObjectSender.cpp @@ -142,7 +142,8 @@ ObjectSender::send_port(ClientInterface* client, const PortImpl* port, bool bund // Send control value if (port->type() == PortType::CONTROL) { - const Sample& value = PtrCast<const AudioBuffer>(port->buffer(0))->value_at(0); + //const Sample& value = PtrCast<const AudioBuffer>(port->buffer(0))->value_at(0); + const Sample& value = ((const AudioBuffer*)port->buffer(0).get())->value_at(0); client->set_port_value(port->path(), value); } |