aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r--Alc/alc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index 0c6bd5dc..810cba10 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -2341,8 +2341,8 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
ALfloat w1 = SPEEDOFSOUNDMETRESPERSEC /
(device->AvgSpeakerDist * device->Frequency);
std::for_each(voice->Direct.Params, voice->Direct.Params+voice->NumChannels,
- [w1](DirectParams &params) -> void
- { NfcFilterCreate(&params.NFCtrlFilter, 0.0f, w1); }
+ [w1](DirectParams &params) noexcept -> void
+ { params.NFCtrlFilter.init(0.0f, w1); }
);
}
}