diff options
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alu.h | 2 | ||||
-rw-r--r-- | OpenAL32/alAuxEffectSlot.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 8b496a45..9792026c 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -350,7 +350,7 @@ ResamplerFunc SelectResampler(Resampler resampler); */ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, HrtfRequestMode hrtf_appreq, HrtfRequestMode hrtf_userreq); -void aluInitEffectPanning(ALeffectslot *slot); +void aluInitEffectPanning(ALeffectslot *slot, ALCdevice *device); void aluSelectPostProcess(ALCdevice *device); diff --git a/OpenAL32/alAuxEffectSlot.cpp b/OpenAL32/alAuxEffectSlot.cpp index 07c6e69e..c6a2a213 100644 --- a/OpenAL32/alAuxEffectSlot.cpp +++ b/OpenAL32/alAuxEffectSlot.cpp @@ -237,7 +237,7 @@ ALeffectslot *AllocEffectSlot(ALCcontext *context) alSetError(context, err, "Effect slot object initialization failed"); return nullptr; } - aluInitEffectPanning(slot); + aluInitEffectPanning(slot, device); /* Add 1 to avoid source ID 0. */ slot->id = ((lidx<<6) | slidx) + 1; |