summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/NodeBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/NodeBase.cpp')
-rw-r--r--src/libs/engine/NodeBase.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/NodeBase.cpp b/src/libs/engine/NodeBase.cpp
index 54caf8f8..f5d8d11a 100644
--- a/src/libs/engine/NodeBase.cpp
+++ b/src/libs/engine/NodeBase.cpp
@@ -174,24 +174,24 @@ NodeBase::signal_input_ready()
/** Prepare to run a cycle (in the audio thread)
*/
void
-NodeBase::pre_process(SampleCount nframes, FrameTime start, FrameTime end)
+NodeBase::pre_process(ProcessContext& context)
{
// Mix down any ports with multiple inputs
if (_ports)
for (size_t i=0; i < _ports->size(); ++i)
- _ports->at(i)->pre_process(nframes, start, end);
+ _ports->at(i)->pre_process(context);
}
/** Prepare to run a cycle (in the audio thread)
*/
void
-NodeBase::post_process(SampleCount nframes, FrameTime start, FrameTime end)
+NodeBase::post_process(ProcessContext& context)
{
/* Write output ports */
if (_ports)
for (size_t i=0; i < _ports->size(); ++i)
- _ports->at(i)->post_process(nframes, start, end);
+ _ports->at(i)->post_process(context);
}