From b0409ad0330ac114bd3e9827fcef946074149f31 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Sat, 17 Apr 2021 22:41:46 +0200 Subject: [PATCH] Fix linux bug --- core/src/dsp/resampling.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/dsp/resampling.h b/core/src/dsp/resampling.h index b3bc09e9..42a36032 100644 --- a/core/src/dsp/resampling.h +++ b/core/src/dsp/resampling.h @@ -103,7 +103,7 @@ namespace dsp { return -1; } - ctrlMtx.lock(); + generic_block>::ctrlMtx.lock(); int outCount = calcOutSize(count); @@ -131,7 +131,7 @@ namespace dsp { memmove(buffer, &buffer[count], tapsPerPhase * sizeof(T)); - ctrlMtx.unlock(); + generic_block>::ctrlMtx.unlock(); return count; }