aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/null.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-09-21 05:42:35 -0700
committerChris Robinson <[email protected]>2017-09-21 05:42:35 -0700
commit90cedbea49e9756d97033962f6c1145991bc7095 (patch)
treedf6c91ac4c7f17b33b9153994ccf3fbaf3ce9a70 /Alc/effects/null.c
parent0b243f1aaf5251823bb0fda7fbb9cf30706fdf33 (diff)
Pass the context to the auxiliary effect update method
Diffstat (limited to 'Alc/effects/null.c')
-rw-r--r--Alc/effects/null.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/null.c b/Alc/effects/null.c
index 3812d8fc..a6591c58 100644
--- a/Alc/effects/null.c
+++ b/Alc/effects/null.c
@@ -16,7 +16,7 @@ typedef struct ALnullState {
/* Forward-declare "virtual" functions to define the vtable with. */
static ALvoid ALnullState_Destruct(ALnullState *state);
static ALboolean ALnullState_deviceUpdate(ALnullState *state, ALCdevice *device);
-static ALvoid ALnullState_update(ALnullState *state, const ALCdevice *device, const ALeffectslot *slot, const ALeffectProps *props);
+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 void *ALnullState_New(size_t size);
static void ALnullState_Delete(void *ptr);
@@ -56,7 +56,7 @@ static ALboolean ALnullState_deviceUpdate(ALnullState* UNUSED(state), ALCdevice*
/* This updates the effect state. This is called any time the effect is
* (re)loaded into a slot.
*/
-static ALvoid ALnullState_update(ALnullState* UNUSED(state), const ALCdevice* UNUSED(device), const ALeffectslot* UNUSED(slot), const ALeffectProps* UNUSED(props))
+static ALvoid ALnullState_update(ALnullState* UNUSED(state), const ALCcontext* UNUSED(context), const ALeffectslot* UNUSED(slot), const ALeffectProps* UNUSED(props))
{
}