From 3b905032ebfcb6778811a5d8362635cff1077be9 Mon Sep 17 00:00:00 2001 From: Iscle Date: Tue, 13 Sep 2022 02:14:50 +0200 Subject: [PATCH] ViPER: Fix build --- src/cpp/viper/ViPER.cpp | 2 +- src/cpp/viper/ViPER.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cpp/viper/ViPER.cpp b/src/cpp/viper/ViPER.cpp index 35acf9e..1335eeb 100644 --- a/src/cpp/viper/ViPER.cpp +++ b/src/cpp/viper/ViPER.cpp @@ -7,7 +7,7 @@ ViPER::ViPER() { VIPER_LOGI("Welcome to ViPER FX"); VIPER_LOGI("Current version is %s %s", VERSION_STRING, VERSION_CODENAME); - this->adaptiveBuffer = new AdaptiveBuffer_F32(2, 4096); + this->adaptiveBuffer = new AdaptiveBuffer(2, 4096); this->waveBuffer = new WaveBuffer_I32(2, 4096); this->convolver = new Convolver(); diff --git a/src/cpp/viper/ViPER.h b/src/cpp/viper/ViPER.h index 6e1d061..bac7c52 100644 --- a/src/cpp/viper/ViPER.h +++ b/src/cpp/viper/ViPER.h @@ -15,7 +15,7 @@ #include "effects/Cure.h" #include "effects/DiffSurround.h" #include "effects/VHE.h" -#include "utils/AdaptiveBuffer_F32.h" +#include "utils/AdaptiveBuffer.h" #include "effects/Convolver.h" #include "effects/ViPERDDC.h" #include "effects/IIRFilter.h" @@ -51,7 +51,7 @@ public: // FxMode mode; // Effects - AdaptiveBuffer_F32 *adaptiveBuffer; + AdaptiveBuffer *adaptiveBuffer; WaveBuffer_I32 *waveBuffer; bool fetcomp_enabled; Convolver *convolver;