aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-01-23 16:32:53 -0800
committerChris Robinson <[email protected]>2019-01-23 16:32:53 -0800
commit7757789590edf655555c96f03ce8ad1000abe1f4 (patch)
treef6f5a1131b97c5dd608af63380488a3581e39868 /Alc/alc.cpp
parentebb46cf4cf42a551e8240bb07e4feaf0c10ea1ca (diff)
Clean up the NFC filters a bit
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index 3dbc0524..6165779f 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -2159,7 +2159,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
(device->AvgSpeakerDist * device->Frequency);
std::for_each(voice->Direct.Params, voice->Direct.Params+voice->NumChannels,
[w1](DirectParams &params) noexcept -> void
- { params.NFCtrlFilter.init(0.0f, w1); }
+ { params.NFCtrlFilter.init(w1); }
);
}
}