aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.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 /OpenAL32/alSource.cpp
parentebb46cf4cf42a551e8240bb07e4feaf0c10ea1ca (diff)
Clean up the NFC filters a bit
Diffstat (limited to 'OpenAL32/alSource.cpp')
-rw-r--r--OpenAL32/alSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.cpp b/OpenAL32/alSource.cpp
index 11bc6cc0..6988decf 100644
--- a/OpenAL32/alSource.cpp
+++ b/OpenAL32/alSource.cpp
@@ -2835,7 +2835,7 @@ AL_API ALvoid AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources)
(device->AvgSpeakerDist * device->Frequency);
std::for_each(voice->Direct.Params+0, voice->Direct.Params+voice->NumChannels,
[w1](DirectParams &parms) noexcept -> void
- { parms.NFCtrlFilter.init(0.0f, w1); }
+ { parms.NFCtrlFilter.init(w1); }
);
}