From 8750810f5cfceeffd5acf2f21e779d470d0dc88b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 28 Nov 2020 03:38:20 -0800 Subject: Change a couple macros into constexpr variables --- alc/effects/autowah.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc/effects/autowah.cpp') diff --git a/alc/effects/autowah.cpp b/alc/effects/autowah.cpp index de91c32f..5ac51e32 100644 --- a/alc/effects/autowah.cpp +++ b/alc/effects/autowah.cpp @@ -52,7 +52,7 @@ struct AutowahState final : public EffectState { struct { float cos_w0; float alpha; - } mEnv[BUFFERSIZE]; + } mEnv[BufferLineSize]; struct { /* Effect filters' history. */ @@ -66,7 +66,7 @@ struct AutowahState final : public EffectState { } mChans[MAX_AMBI_CHANNELS]; /* Effects buffers */ - alignas(16) float mBufferOut[BUFFERSIZE]; + alignas(16) float mBufferOut[BufferLineSize]; void deviceUpdate(const ALCdevice *device) override; -- cgit v1.2.3