aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/autowah.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-11-28 03:38:20 -0800
committerChris Robinson <[email protected]>2020-11-28 03:38:20 -0800
commit8750810f5cfceeffd5acf2f21e779d470d0dc88b (patch)
tree447b24c8d1b3ab926f2aa2ae40617938df1e9bb1 /alc/effects/autowah.cpp
parenteb9b9fb4e59cadc308b8ebcdf3da59a961382224 (diff)
Change a couple macros into constexpr variables
Diffstat (limited to 'alc/effects/autowah.cpp')
-rw-r--r--alc/effects/autowah.cpp4
1 files changed, 2 insertions, 2 deletions
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;