summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/LV2Node.hpp2
-rw-r--r--src/engine/MessageContext.cpp4
-rw-r--r--src/engine/NodeBase.hpp2
-rw-r--r--src/engine/NodeImpl.hpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/LV2Node.hpp b/src/engine/LV2Node.hpp
index 7f703117..0dfdafb5 100644
--- a/src/engine/LV2Node.hpp
+++ b/src/engine/LV2Node.hpp
@@ -53,7 +53,7 @@ public:
void activate();
void deactivate();
- void message_process(MessageContext& context, uint32_t* inputs, uint32_t* outputs);
+ void message_process(MessageContext& context, uint32_t* ins, uint32_t* outs);
void process(ProcessContext& context);
diff --git a/src/engine/MessageContext.cpp b/src/engine/MessageContext.cpp
index 010d7067..778804b3 100644
--- a/src/engine/MessageContext.cpp
+++ b/src/engine/MessageContext.cpp
@@ -24,8 +24,8 @@ namespace Ingen {
void
MessageContext::run(NodeImpl* node)
{
- uint32_t outputs;
- node->message_process(*this, &outputs);
+ uint32_t inputs, outputs;
+ node->message_process(*this, &inputs, &outputs);
// Don't care what the plugin output, yet...
}
diff --git a/src/engine/NodeBase.hpp b/src/engine/NodeBase.hpp
index a20ebbb4..3efe8ebc 100644
--- a/src/engine/NodeBase.hpp
+++ b/src/engine/NodeBase.hpp
@@ -74,7 +74,7 @@ public:
virtual void learn() {}
- virtual void message_process(MessageContext& context, uint32_t* output) {}
+ virtual void message_process(MessageContext& context, uint32_t* ins, uint32_t* outs) {}
virtual void pre_process(ProcessContext& context);
virtual void process(ProcessContext& context) = 0;
diff --git a/src/engine/NodeImpl.hpp b/src/engine/NodeImpl.hpp
index 5695f0fc..e120db0e 100644
--- a/src/engine/NodeImpl.hpp
+++ b/src/engine/NodeImpl.hpp
@@ -114,7 +114,7 @@ public:
/** Run the node for one instant in the message thread.
*/
- virtual void message_process(MessageContext& context, uint32_t* output) = 0;
+ virtual void message_process(MessageContext& context, uint32_t* ins, uint32_t* outs) = 0;
/** Run the node for @a nframes input/output.
*