diff options
author | Chris Robinson <[email protected]> | 2018-01-09 23:55:59 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-09 23:55:59 -0800 |
commit | ef63ec3fe9364d2036878fa871f49ee60f84482b (patch) | |
tree | 5c818196e004bfc4278b5c6ddd4763b598456ac6 /Alc/converter.h | |
parent | de8c5b18248ee5d121cbd4b34b9af94f5e16df35 (diff) |
Use one macro to handle both resample padding sizes
Diffstat (limited to 'Alc/converter.h')
-rw-r--r-- | Alc/converter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/converter.h b/Alc/converter.h index 9934fa4b..b58fd831 100644 --- a/Alc/converter.h +++ b/Alc/converter.h @@ -26,7 +26,7 @@ typedef struct SampleConverter { alignas(16) ALfloat mDstSamples[BUFFERSIZE]; struct { - alignas(16) ALfloat mPrevSamples[MAX_PRE_SAMPLES+MAX_POST_SAMPLES]; + alignas(16) ALfloat mPrevSamples[MAX_RESAMPLE_PADDING*2]; } Chan[]; } SampleConverter; |