diff options
Diffstat (limited to 'src/libs/engine/QueuedEngineInterface.cpp')
-rw-r--r-- | src/libs/engine/QueuedEngineInterface.cpp | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/libs/engine/QueuedEngineInterface.cpp b/src/libs/engine/QueuedEngineInterface.cpp index 72be00aa..4e138c57 100644 --- a/src/libs/engine/QueuedEngineInterface.cpp +++ b/src/libs/engine/QueuedEngineInterface.cpp @@ -196,14 +196,14 @@ QueuedEngineInterface::set_polyphonic(const string& path, bool poly) void QueuedEngineInterface::enable_patch(const string& patch_path) { - push_queued(new EnablePatchEvent(_engine, _responder, now(), patch_path)); + push_queued(new EnablePatchEvent(_engine, _responder, now(), patch_path, true)); } void QueuedEngineInterface::disable_patch(const string& patch_path) { - push_queued(new DisablePatchEvent(_engine, _responder, now(), patch_path)); + push_queued(new EnablePatchEvent(_engine, _responder, now(), patch_path, false)); } @@ -274,6 +274,20 @@ QueuedEngineInterface::set_port_value_immediate(const string& port_path, void +QueuedEngineInterface::enable_port_broadcasting(const string& port_path) +{ + push_queued(new EnablePortBroadcastingEvent(_engine, _responder, now(), port_path, true)); +} + + +void +QueuedEngineInterface::disable_port_broadcasting(const string& port_path) +{ + push_queued(new EnablePortBroadcastingEvent(_engine, _responder, now(), port_path, false)); +} + + +void QueuedEngineInterface::set_program(const string& node_path, uint32_t bank, uint32_t program) |