diff options
author | Chris Robinson <[email protected]> | 2020-05-08 01:24:14 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-05-08 01:24:14 -0700 |
commit | 301f8f5db5b9dd43ed2ef8c6628c2adf7ce4944c (patch) | |
tree | 14b7209959a579ceb1527d2a58355ab9a5e19636 /alc/uhjfilter.h | |
parent | 0cfb8fee4488feedf915828cb442705ae2ba81a7 (diff) |
Use std::arrays for the UHJ filters
Diffstat (limited to 'alc/uhjfilter.h')
-rw-r--r-- | alc/uhjfilter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/alc/uhjfilter.h b/alc/uhjfilter.h index 09f577e4..0593cdb9 100644 --- a/alc/uhjfilter.h +++ b/alc/uhjfilter.h @@ -1,12 +1,14 @@ #ifndef UHJFILTER_H #define UHJFILTER_H +#include <array> + #include "alcmain.h" #include "almalloc.h" struct AllPassState { - float z[2]{0.0f, 0.0f}; + std::array<float,2> z{{0.0f, 0.0f}}; }; /* Encoding 2-channel UHJ from B-Format is done as: |