From 4b746b8d37911600bb64e3cb9efe8c370968df1d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 28 Sep 2019 14:35:42 -0700 Subject: Make MAX_RESAMPLER_PADDING specify the total padding --- alc/converter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alc/converter.h') diff --git a/alc/converter.h b/alc/converter.h index 8390eae3..d8fe7ba9 100644 --- a/alc/converter.h +++ b/alc/converter.h @@ -30,7 +30,7 @@ struct SampleConverter { alignas(16) ALfloat mDstSamples[BUFFERSIZE]{}; struct ChanSamples { - alignas(16) ALfloat PrevSamples[MAX_RESAMPLE_PADDING*2]; + alignas(16) ALfloat PrevSamples[MAX_RESAMPLER_PADDING]; }; al::FlexArray mChan; -- cgit v1.2.3