diff options
author | Chris Robinson <[email protected]> | 2018-02-11 21:59:59 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-02-11 22:23:03 -0800 |
commit | e63e0ee596e207d225e2340c867f0c0c83496cc8 (patch) | |
tree | c8b3d47eb9e90be961d624f046577c657de3726d /Alc/ALc.c | |
parent | 494e9fd61d1a4ca98bb314a6615e720556519a95 (diff) |
Combine multiple functions called sequentially
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -2331,11 +2331,7 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList) ALfloat w1 = SPEEDOFSOUNDMETRESPERSEC / (device->AvgSpeakerDist * device->Frequency); for(i = 0;i < voice->NumChannels;i++) - { - NfcFilterCreate1(&voice->Direct.Params[i].NFCtrlFilter[0], 0.0f, w1); - NfcFilterCreate2(&voice->Direct.Params[i].NFCtrlFilter[1], 0.0f, w1); - NfcFilterCreate3(&voice->Direct.Params[i].NFCtrlFilter[2], 0.0f, w1); - } + NfcFilterCreate(&voice->Direct.Params[i].NFCtrlFilter, 0.0f, w1); } } almtx_unlock(&context->SourceLock); |