aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c2
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)