From 57b860d8cacff4599da5aec52b67902a57bb6b55 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 3 Aug 2018 00:07:08 -0700 Subject: Trace the NFC reference distance when set --- Alc/panning.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Alc') diff --git a/Alc/panning.c b/Alc/panning.c index e4562387..51d65a24 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -425,6 +425,7 @@ static void InitNearFieldCtrl(ALCdevice *device, ALfloat ctrl_dist, ALsizei orde * be used when rendering to an ambisonic buffer. */ device->AvgSpeakerDist = minf(ctrl_dist, 10.0f); + TRACE("Using near-field reference distance: %.2f meters\n", device->AvgSpeakerDist); for(i = 0;i < order+1;i++) device->Dry.NumChannelsPerOrder[i] = chans_per_order[i]; -- cgit v1.2.3