From 182c0cb61abaff36554653d6a94c8a66fc263411 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 9 May 2016 14:22:26 -0700 Subject: Find a valid source buffer before updating the voice --- OpenAL32/Include/alSource.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/Include/alSource.h') diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h index b7c08fcd..6c821703 100644 --- a/OpenAL32/Include/alSource.h +++ b/OpenAL32/Include/alSource.h @@ -25,7 +25,7 @@ typedef struct ALvoice { struct ALsource *volatile Source; /** Method to update mixing parameters. */ - ALvoid (*Update)(struct ALvoice *self, const struct ALsource *source, const ALCcontext *context); + ALvoid (*Update)(struct ALvoice *self, const struct ALsource *source, const struct ALbuffer *ALBuffer, const ALCcontext *context); /** Current target parameters used for mixing. */ ALint Step; -- cgit v1.2.3