summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/Connection.cpp')
-rw-r--r--src/libs/engine/Connection.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/engine/Connection.cpp b/src/libs/engine/Connection.cpp
index 47893acb..fedd2198 100644
--- a/src/libs/engine/Connection.cpp
+++ b/src/libs/engine/Connection.cpp
@@ -23,6 +23,7 @@
#include "Port.hpp"
#include "BufferFactory.hpp"
#include "AudioBuffer.hpp"
+#include "ProcessContext.hpp"
namespace Ingen {
@@ -110,10 +111,10 @@ Connection::apply_poly(Raul::Maid& maid, uint32_t poly)
void
-Connection::process(SampleCount nframes, FrameTime start, FrameTime end)
+Connection::process(ProcessContext& context)
{
// FIXME: nframes parameter not used
- assert(_buffer_size == 1 || _buffer_size == nframes);
+ assert(_buffer_size == 1 || _buffer_size == context.nframes());
/* Thought: A poly output port can be connected to multiple mono input
* ports, which means this mix down would have to happen many times.