diff options
author | Chris Robinson <[email protected]> | 2019-04-29 13:07:02 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-04-29 19:47:14 -0700 |
commit | cef7eebed663e1daf8704eceb09f05ff75609ec5 (patch) | |
tree | 38659299da22c581ea10ced9df55037a5a0a8c50 /Alc/panning.cpp | |
parent | b42694ea31b3c72348e2467c43171b31f7eef5a8 (diff) |
Disable NFC by default
Diffstat (limited to 'Alc/panning.cpp')
-rw-r--r-- | Alc/panning.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/panning.cpp b/Alc/panning.cpp index cb9a486d..ce822123 100644 --- a/Alc/panning.cpp +++ b/Alc/panning.cpp @@ -235,7 +235,7 @@ void InitNearFieldCtrl(ALCdevice *device, ALfloat ctrl_dist, ALsizei order, cons { /* NFC is only used when AvgSpeakerDist is greater than 0. */ const char *devname{device->DeviceName.c_str()}; - if(!GetConfigValueBool(devname, "decoder", "nfc", 1) || !(ctrl_dist > 0.0f)) + if(!GetConfigValueBool(devname, "decoder", "nfc", 0) || !(ctrl_dist > 0.0f)) return; device->AvgSpeakerDist = minf(ctrl_dist, 10.0f); |