aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-13 21:42:26 -0800
committerChris Robinson <[email protected]>2018-02-18 23:56:51 -0800
commit7f3d69fdbc838334b5e7135dc6b69c5ae596a771 (patch)
treeb808042981c850f930c350b40df8e41e971bd5ec /Alc/panning.c
parent7dafac0c34cb1cd07a783d1acdcd28fe43ef808a (diff)
Remove an unnecessary comment about if meters_per_unit is > 0
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index c8a245da..72e3c5ae 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -446,9 +446,8 @@ static void InitNearFieldCtrl(ALCdevice *device, ALfloat ctrl_dist, ALsizei orde
if(GetConfigValueBool(devname, "decoder", "nfc", 1) && ctrl_dist > 0.0f)
{
- /* NFC is only used when AvgSpeakerDist is greater than 0, and
- * METERS_PER_UNIT is also greater than 0. In addition, NFC can only be
- * used when rendering to an ambisonic buffer.
+ /* NFC is only used when AvgSpeakerDist is greater than 0, and can only
+ * be used when rendering to an ambisonic buffer.
*/
device->AvgSpeakerDist = ctrl_dist;