aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-03-29 11:28:38 -0700
committerChris Robinson <[email protected]>2019-03-29 11:33:04 -0700
commitcc91490b6104b5304655c6e4367371ea929d20bb (patch)
treed536557a349bc9bbd85fcc215456d96ab70fc13b /Alc/hrtf.h
parentfe7918465ed203b4731140aaf13c00d2aa9b1041 (diff)
Use a temporary buffer for HRTF filter accumulation
Similar to the history buffer, to avoid using the state buffer as a ring buffer.
Diffstat (limited to 'Alc/hrtf.h')
-rw-r--r--Alc/hrtf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/hrtf.h b/Alc/hrtf.h
index b3063dd9..fae3be0c 100644
--- a/Alc/hrtf.h
+++ b/Alc/hrtf.h
@@ -60,6 +60,8 @@ struct EnumeratedHrtf {
};
+using float2 = std::array<float,2>;
+
template<typename T>
using HrirArray = std::array<std::array<T,2>,HRIR_LENGTH>;