diff options
author | Chris Robinson <[email protected]> | 2019-11-03 00:30:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-11-03 00:30:33 -0700 |
commit | d2608e4bde41b3005a06346bea99bbe06404ef22 (patch) | |
tree | b57b085c64bff88056b07437c41ddf6e09d7d9de /alc/hrtf.h | |
parent | 2741a94e58ed2f9a17d05fd2499e1a3ea4ac43e8 (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.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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} { } |