From c5f30f6d6ae4423df136ea9177c94dc8e8b67f3a Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Fri, 17 Jun 2022 17:40:52 +0200 Subject: [PATCH] bugfix --- core/src/dsp/routing/splitter.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/dsp/routing/splitter.h b/core/src/dsp/routing/splitter.h index 2988bfa1..950d61eb 100644 --- a/core/src/dsp/routing/splitter.h +++ b/core/src/dsp/routing/splitter.h @@ -42,18 +42,18 @@ namespace dsp::routing { } int run() { - int count = _in->read(); + int count = base_type::_in->read(); if (count < 0) { return -1; } for (const auto& stream : streams) { - memcpy(stream->writeBuf, _in->readBuf, count * sizeof(T)); + memcpy(stream->writeBuf, base_type::_in->readBuf, count * sizeof(T)); if (!stream->swap(count)) { - _in->flush(); + base_type::_in->flush(); return -1; } } - _in->flush(); + base_type::_in->flush(); return count; }