From 7635afcb520747b74b7c65bb522016c2c7c2da4d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 14 Sep 2012 04:13:18 -0700 Subject: Use a source param for the resampler and move them to the mixer source --- OpenAL32/Include/alu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenAL32/Include/alu.h') diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index a4ad48c8..79ba8f7e 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -80,6 +80,10 @@ struct ALbuffer; struct DirectParams; struct SendParams; +typedef void (*ResamplerFunc)(const ALfloat *src, ALuint frac, + ALuint increment, ALuint NumChannels, + ALfloat *RESTRICT dst, ALuint dstlen); + typedef ALvoid (*DryMixerFunc)(struct ALsource *self, ALCdevice *Device, struct DirectParams *params, const ALfloat *RESTRICT data, ALuint srcchan, -- cgit v1.2.3