aboutsummaryrefslogtreecommitdiffstats
path: root/alc/hrtf.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-11-03 00:30:33 -0700
committerChris Robinson <[email protected]>2019-11-03 00:30:33 -0700
commitd2608e4bde41b3005a06346bea99bbe06404ef22 (patch)
treeb57b085c64bff88056b07437c41ddf6e09d7d9de /alc/hrtf.h
parent2741a94e58ed2f9a17d05fd2499e1a3ea4ac43e8 (diff)
Avoid holding HRTF accumulation samples per-source
It notably simplifies things to mix HRTF sources into an accumulation buffer together, which the Dry buffer's Ambisonic-to-HRTF decode is then added to, before being mixed to the Real output.
Diffstat (limited to 'alc/hrtf.h')
-rw-r--r--alc/hrtf.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/alc/hrtf.h b/alc/hrtf.h
index d133133a..a81ebfed 100644
--- a/alc/hrtf.h
+++ b/alc/hrtf.h
@@ -68,7 +68,6 @@ using HrirArray = std::array<float2,HRIR_LENGTH>;
struct HrtfState {
alignas(16) std::array<ALfloat,HRTF_HISTORY_LENGTH> History;
- alignas(16) HrirArray Values;
};
struct HrtfFilter {
@@ -80,7 +79,6 @@ struct HrtfFilter {
struct DirectHrtfState {
/* HRTF filter state for dry buffer content */
ALuint IrSize{0};
- alignas(16) HrirArray Values{};
al::FlexArray<HrirArray,16> Coeffs;
DirectHrtfState(size_t numchans) : Coeffs{numchans} { }