diff options
author | Chris Robinson <[email protected]> | 2014-12-06 18:58:16 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-12-06 18:58:16 -0800 |
commit | 05529d66aeb8290bcda578650b2c99048ee8a278 (patch) | |
tree | bda306f22baa3f867ddd92c94c5ad0668fe74366 | |
parent | 3d1f1ffd7fae714cebf837aa3b9457774d3dbc72 (diff) |
Don't pass float literals for unsigned ints
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1300,8 +1300,8 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size) HrtfMixerFunc HrtfMix = SelectHrtfMixer(); ALuint irsize = GetHrtfIrSize(device->Hrtf); for(c = 0;c < device->NumChannels;c++) - HrtfMix(&device->DryBuffer[outchanoffset], device->DryBuffer[c], 0.0f, - device->Hrtf_Offset, 0.0f, irsize, &device->Hrtf_Params[c], + HrtfMix(&device->DryBuffer[outchanoffset], device->DryBuffer[c], 0, + device->Hrtf_Offset, 0, irsize, &device->Hrtf_Params[c], &device->Hrtf_State[c], SamplesToDo ); device->Hrtf_Offset += SamplesToDo; |