summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/QueuedEngineInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/QueuedEngineInterface.cpp')
-rw-r--r--src/libs/engine/QueuedEngineInterface.cpp27
1 files changed, 20 insertions, 7 deletions
diff --git a/src/libs/engine/QueuedEngineInterface.cpp b/src/libs/engine/QueuedEngineInterface.cpp
index badbf78d..41780e92 100644
--- a/src/libs/engine/QueuedEngineInterface.cpp
+++ b/src/libs/engine/QueuedEngineInterface.cpp
@@ -233,26 +233,39 @@ QueuedEngineInterface::disconnect_all(const string& node_path)
void
QueuedEngineInterface::set_port_value(const string& port_path,
- float value)
+ uint32_t data_size,
+ const void* data)
{
- push_stamped(new SetPortValueEvent(_engine, _responder, now(), port_path, value));
+ push_queued(new SetPortValueQueuedEvent(_engine, _responder, now(), port_path, data_size, data));
}
void
QueuedEngineInterface::set_port_value(const string& port_path,
uint32_t voice,
- float value)
+ uint32_t data_size,
+ const void* data)
{
- push_stamped(new SetPortValueEvent(_engine, _responder, now(), voice, port_path, value));
+ push_queued(new SetPortValueQueuedEvent(_engine, _responder, now(), voice, port_path, data_size, data));
}
void
-QueuedEngineInterface::set_port_value_queued(const string& port_path,
- float value)
+QueuedEngineInterface::set_port_value_immediate(const string& port_path,
+ uint32_t data_size,
+ const void* data)
{
- push_queued(new SetPortValueQueuedEvent(_engine, _responder, now(), port_path, value));
+ push_stamped(new SetPortValueEvent(_engine, _responder, now(), port_path, data_size, data));
+}
+
+
+void
+QueuedEngineInterface::set_port_value_immediate(const string& port_path,
+ uint32_t voice,
+ uint32_t data_size,
+ const void* data)
+{
+ push_stamped(new SetPortValueEvent(_engine, _responder, now(), voice, port_path, data_size, data));
}