diff options
Diffstat (limited to 'OpenAL32/alSource.cpp')
-rw-r--r-- | OpenAL32/alSource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alSource.cpp b/OpenAL32/alSource.cpp index 42f05131..872bc9ee 100644 --- a/OpenAL32/alSource.cpp +++ b/OpenAL32/alSource.cpp @@ -2840,8 +2840,8 @@ AL_API ALvoid AL_APIENTRY alSourcePlayv(ALsizei n, const ALuint *sources) ALfloat w1 = SPEEDOFSOUNDMETRESPERSEC / (device->AvgSpeakerDist * device->Frequency); std::for_each(voice->Direct.Params+0, voice->Direct.Params+voice->NumChannels, - [w1](DirectParams &parms) -> void - { NfcFilterCreate(&parms.NFCtrlFilter, 0.0f, w1); } + [w1](DirectParams &parms) noexcept -> void + { parms.NFCtrlFilter.init(0.0f, w1); } ); } |