aboutsummaryrefslogtreecommitdiffstats
path: root/alc/mastering.h
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/mastering.h
parenteb9b9fb4e59cadc308b8ebcdf3da59a961382224 (diff)
Change a couple macros into constexpr variables
Diffstat (limited to 'alc/mastering.h')
-rw-r--r--alc/mastering.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/mastering.h b/alc/mastering.h
index 9503a37e..0a98fe1f 100644
--- a/alc/mastering.h
+++ b/alc/mastering.h
@@ -44,8 +44,8 @@ struct Compressor {
float mAttack{0.0f};
float mRelease{0.0f};
- alignas(16) float mSideChain[2*BUFFERSIZE]{};
- alignas(16) float mCrestFactor[BUFFERSIZE]{};
+ alignas(16) float mSideChain[2*BufferLineSize]{};
+ alignas(16) float mCrestFactor[BufferLineSize]{};
SlidingHold *mHold{nullptr};
FloatBufferLine *mDelay{nullptr};