From eac0539ea032982cd59ff7698a649356e81b345d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 23 Oct 2017 13:30:01 -0700 Subject: Enable NFC filters for HRTF Only applies to the Ambisonic mix (basic HRTF rendering, or B-Format buffers). --- Alc/panning.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alc/panning.c') 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) -- cgit v1.2.3