aboutsummaryrefslogtreecommitdiffstats
path: root/alc/uhjfilter.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-05-08 01:24:14 -0700
committerChris Robinson <[email protected]>2020-05-08 01:24:14 -0700
commit301f8f5db5b9dd43ed2ef8c6628c2adf7ce4944c (patch)
tree14b7209959a579ceb1527d2a58355ab9a5e19636 /alc/uhjfilter.h
parent0cfb8fee4488feedf915828cb442705ae2ba81a7 (diff)
Use std::arrays for the UHJ filters
Diffstat (limited to 'alc/uhjfilter.h')
-rw-r--r--alc/uhjfilter.h4
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: