diff options
Diffstat (limited to 'Alc/alc.cpp')
-rw-r--r-- | Alc/alc.cpp | 4 |
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 ¶ms) -> void - { NfcFilterCreate(¶ms.NFCtrlFilter, 0.0f, w1); } + [w1](DirectParams ¶ms) noexcept -> void + { params.NFCtrlFilter.init(0.0f, w1); } ); } } |