diff options
author | Chris Robinson <[email protected]> | 2018-01-14 09:02:59 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-01-14 09:02:59 -0800 |
commit | 63416bf28f0a717941c752fd84015ee35e7f4e4b (patch) | |
tree | 9299611381e7103ef32f27cf8670f11479ac1e98 /Alc/effects | |
parent | 0152bc0d10901cc60e579e2f7fa6ebf7786e6106 (diff) |
Avoid unnecessarily using type aliases
Diffstat (limited to 'Alc/effects')
-rw-r--r-- | Alc/effects/null.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/null.c b/Alc/effects/null.c index a6591c58..f3e8a6df 100644 --- a/Alc/effects/null.c +++ b/Alc/effects/null.c @@ -17,7 +17,7 @@ typedef struct ALnullState { static ALvoid ALnullState_Destruct(ALnullState *state); static ALboolean ALnullState_deviceUpdate(ALnullState *state, ALCdevice *device); static ALvoid ALnullState_update(ALnullState *state, const ALCcontext *context, const ALeffectslot *slot, const ALeffectProps *props); -static ALvoid ALnullState_process(ALnullState *state, ALsizei samplesToDo, const ALfloatBUFFERSIZE*restrict samplesIn, ALfloatBUFFERSIZE*restrict samplesOut, ALsizei NumChannels); +static ALvoid ALnullState_process(ALnullState *state, ALsizei samplesToDo, const ALfloat (*restrict samplesIn)[BUFFERSIZE], ALfloat (*restrict samplesOut)[BUFFERSIZE], ALsizei mumChannels); static void *ALnullState_New(size_t size); static void ALnullState_Delete(void *ptr); @@ -64,7 +64,7 @@ static ALvoid ALnullState_update(ALnullState* UNUSED(state), const ALCcontext* U * input to the output buffer. The result should be added to the output buffer, * not replace it. */ -static ALvoid ALnullState_process(ALnullState* UNUSED(state), ALsizei UNUSED(samplesToDo), const ALfloatBUFFERSIZE*restrict UNUSED(samplesIn), ALfloatBUFFERSIZE*restrict UNUSED(samplesOut), ALsizei UNUSED(NumChannels)) +static ALvoid ALnullState_process(ALnullState* UNUSED(state), ALsizei UNUSED(samplesToDo), const ALfloatBUFFERSIZE*restrict UNUSED(samplesIn), ALfloatBUFFERSIZE*restrict UNUSED(samplesOut), ALsizei UNUSED(numChannels)) { } |