From 838e2bae801fec73258c4b8332b4d95a34d0aff2 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 28 May 2019 17:18:22 -0700 Subject: Improve a couple algorithms --- Alc/mastering.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Alc/mastering.h') diff --git a/Alc/mastering.h b/Alc/mastering.h index 6cc40ba3..31d0ef97 100644 --- a/Alc/mastering.h +++ b/Alc/mastering.h @@ -50,8 +50,7 @@ struct Compressor { alignas(16) ALfloat mCrestFactor[BUFFERSIZE]{}; SlidingHold *mHold{nullptr}; - ALfloat (*mDelay)[BUFFERSIZE]{nullptr}; - ALsizei mDelayIndex{0}; + FloatBufferLine *mDelay{nullptr}; ALfloat mCrestCoeff{0.0f}; ALfloat mGainEstimate{0.0f}; -- cgit v1.2.3