aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-08-03 00:07:08 -0700
committerChris Robinson <[email protected]>2018-08-03 00:07:08 -0700
commit57b860d8cacff4599da5aec52b67902a57bb6b55 (patch)
tree82af00fb82cd39ddaaa8744c2890738c57e86351 /Alc
parent0c67429a38836115c7dfafac989d41f006d88c86 (diff)
Trace the NFC reference distance when set
Diffstat (limited to 'Alc')
-rw-r--r--Alc/panning.c1
1 files changed, 1 insertions, 0 deletions
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];