diff options
author | Chris Robinson <[email protected]> | 2017-08-28 05:56:57 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-08-28 05:56:57 -0700 |
commit | 6c367cad6e358a0ea4fd71fc94120dd7e036c621 (patch) | |
tree | 1c92d6691a3c7f4f1f6ef95f65551e2a87a87ff9 /Alc | |
parent | fde02abc359d81f7c25d6d24ac747613537efb1f (diff) |
Ensure some macros have the correct size
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/bsinc_inc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/bsinc_inc.c b/Alc/bsinc_inc.c index 65f3fe8f..1370ce5a 100644 --- a/Alc/bsinc_inc.c +++ b/Alc/bsinc_inc.c @@ -1,5 +1,9 @@ /* Generated by bsincgen, do not edit! */ +static_assert(BSINC_SCALE_COUNT == 16, "Unexpected BSINC_SCALE_COUNT value!"); +static_assert(BSINC_PHASE_COUNT == 16, "Unexpected BSINC_PHASE_COUNT value!"); +static_assert(FRACTIONONE == 4096, "Unexpected FRACTIONONE value!"); + typedef struct BSincTable { const float scaleBase, scaleRange; const int m[BSINC_SCALE_COUNT]; |