From 4f601405a106eb1da831f6bcb6e4979c177d86ce Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Fri, 17 Jun 2022 18:01:27 +0200 Subject: [PATCH] More dumb linux bugfix --- core/src/dsp/routing/stream_link.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/dsp/routing/stream_link.h b/core/src/dsp/routing/stream_link.h index 4d385ee..e838faf 100644 --- a/core/src/dsp/routing/stream_link.h +++ b/core/src/dsp/routing/stream_link.h @@ -27,12 +27,12 @@ namespace dsp::routing { } int run() { - int count = _in->read(); + int count = base_type::_in->read(); if (count < 0) { return -1; } - memcpy(_out->writeBuf, _in->readBuf, count * sizeof(T)); + memcpy(_out->writeBuf, base_type::_in->readBuf, count * sizeof(T)); - _in->flush(); + base_type::_in->flush(); if (!_out->swap(count)) { return -1; } return count; }