diff options
author | Chris Robinson <[email protected]> | 2017-10-23 13:30:01 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-10-23 13:30:01 -0700 |
commit | eac0539ea032982cd59ff7698a649356e81b345d (patch) | |
tree | 7341af9df413ffc772bd9a456b99a0a368289e8d /Alc/panning.c | |
parent | b82d2cf05555999a4b8597e2b23799b5b7023c63 (diff) |
Enable NFC filters for HRTF
Only applies to the Ambisonic mix (basic HRTF rendering, or B-Format buffers).
Diffstat (limited to 'Alc/panning.c')
-rw-r--r-- | Alc/panning.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/panning.c b/Alc/panning.c index fb510f1e..aaae6bbd 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -954,6 +954,8 @@ static void InitHrtfPanning(ALCdevice *device) BuildBFormatHrtf(device->HrtfHandle, device->Hrtf, device->Dry.NumChannels, AmbiPoints, AmbiMatrix, COUNTOF(AmbiPoints) ); + + InitNearFieldCtrl(device, device->HrtfHandle->distance, device->AmbiUp ? 2 : 1, true); } static void InitUhjPanning(ALCdevice *device) |