From c4849355427027ae909890df073a670639c1b8a2 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 15 Jul 2017 23:13:08 -0700 Subject: Apply the output buffer offset before writing to it --- OpenAL32/Include/alu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 5cda214e..794bdec9 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -502,7 +502,7 @@ void ComputeFirstOrderGainsBF(const BFChannelConfig *chanmap, ALsizei numchans, ALboolean MixSource(struct ALvoice *voice, struct ALsource *Source, ALCdevice *Device, ALsizei SamplesToDo); -void aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size); +void aluMixData(ALCdevice *device, ALvoid *OutBuffer, ALsizei NumSamples); /* Caller must lock the device. */ void aluHandleDisconnect(ALCdevice *device); -- cgit v1.2.3