diff options
author | Chris Robinson <[email protected]> | 2020-11-28 03:38:20 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-11-28 03:38:20 -0800 |
commit | 8750810f5cfceeffd5acf2f21e779d470d0dc88b (patch) | |
tree | 447b24c8d1b3ab926f2aa2ae40617938df1e9bb1 /alc/converter.h | |
parent | eb9b9fb4e59cadc308b8ebcdf3da59a961382224 (diff) |
Change a couple macros into constexpr variables
Diffstat (limited to 'alc/converter.h')
-rw-r--r-- | alc/converter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/converter.h b/alc/converter.h index 392c95e5..2ae77764 100644 --- a/alc/converter.h +++ b/alc/converter.h @@ -29,11 +29,11 @@ struct SampleConverter { InterpState mState{}; ResamplerFunc mResample{}; - alignas(16) float mSrcSamples[BUFFERSIZE]{}; - alignas(16) float mDstSamples[BUFFERSIZE]{}; + alignas(16) float mSrcSamples[BufferLineSize]{}; + alignas(16) float mDstSamples[BufferLineSize]{}; struct ChanSamples { - alignas(16) float PrevSamples[MAX_RESAMPLER_PADDING]; + alignas(16) float PrevSamples[MaxResamplerPadding]; }; al::FlexArray<ChanSamples> mChan; |