diff options
author | Chris Robinson <[email protected]> | 2016-07-07 10:26:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-07 10:26:42 -0700 |
commit | 7ec89b4b6e787c9bb0b73aea7f736351f1b0bfca (patch) | |
tree | b12b9da8d160048f7aaa8da8d4e8eb9cef2daecd /Alc/ALu.c | |
parent | b495d80f5624328569bd0d8b9478927c0fc32100 (diff) |
Avoid function calls to get the HRTF sample rate and IR size
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1506,7 +1506,7 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size) if(lidx != -1 && ridx != -1) { HrtfMixerFunc HrtfMix = SelectHrtfMixer(); - ALuint irsize = GetHrtfIrSize(device->Hrtf); + ALuint irsize = device->Hrtf->irSize; MixHrtfParams hrtfparams; memset(&hrtfparams, 0, sizeof(hrtfparams)); for(c = 0;c < device->Dry.NumChannels;c++) |