diff options
author | Chris Robinson <[email protected]> | 2013-05-27 11:48:29 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-05-27 11:48:29 -0700 |
commit | 9e84f38a46f49230bf836e8a33b0637c000d659b (patch) | |
tree | 733ee48b1c03794731ff1e0f2454b0db52886e5c /Alc/ALu.c | |
parent | 06c8442af67fcb38241d2f13a649fc8d4dedaa85 (diff) |
Use generic VCALL[_NOARGS] macros instead of type-specific wrappers
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1041,10 +1041,10 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size) (*slot)->PendingClicks[0] = 0.0f; if(!DeferUpdates && ExchangeInt(&(*slot)->NeedsUpdate, AL_FALSE)) - ALeffectState_Update((*slot)->EffectState, device, *slot); + VCALL((*slot)->EffectState,Update,(device, *slot)); - ALeffectState_Process((*slot)->EffectState, SamplesToDo, - (*slot)->WetBuffer[0], device->DryBuffer); + VCALL((*slot)->EffectState,Process,(SamplesToDo, (*slot)->WetBuffer[0], + device->DryBuffer)); for(i = 0;i < SamplesToDo;i++) (*slot)->WetBuffer[0][i] = 0.0f; @@ -1070,10 +1070,10 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size) (*slot)->PendingClicks[0] = 0.0f; if(ExchangeInt(&(*slot)->NeedsUpdate, AL_FALSE)) - ALeffectState_Update((*slot)->EffectState, device, *slot); + VCALL((*slot)->EffectState,Update,(device, *slot)); - ALeffectState_Process((*slot)->EffectState, SamplesToDo, - (*slot)->WetBuffer[0], device->DryBuffer); + VCALL((*slot)->EffectState,Process,(SamplesToDo, (*slot)->WetBuffer[0], + device->DryBuffer)); for(i = 0;i < SamplesToDo;i++) (*slot)->WetBuffer[0][i] = 0.0f; |