diff options
author | Chris Robinson <[email protected]> | 2020-05-20 11:13:06 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-05-20 11:13:06 -0700 |
commit | 200c164d786a2fd33962b2fcc5ded176e47a0f3d (patch) | |
tree | 488548dedfd2f90ab87feb72246915c191816baf /alc/alcmain.h | |
parent | f38b813ba8703c6cb868f76e6603e863affa665c (diff) |
Improve HRTF delay handling
Ensures source-level HRTF, the dry mix, and direct output all align properly,
and simplifies adding the delay in the direct mix output.
Diffstat (limited to 'alc/alcmain.h')
-rw-r--r-- | alc/alcmain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alcmain.h b/alc/alcmain.h index 3a14e68f..c577551b 100644 --- a/alc/alcmain.h +++ b/alc/alcmain.h @@ -269,7 +269,7 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice> { }; /* Persistent storage for HRTF mixing. */ - alignas(16) float2 HrtfAccumData[BUFFERSIZE + HRIR_LENGTH]; + alignas(16) float2 HrtfAccumData[BUFFERSIZE + HRIR_LENGTH + HRTF_DIRECT_DELAY]; /* Mixing buffer used by the Dry mix and Real output. */ al::vector<FloatBufferLine, 16> MixBuffer; |