From 1c0302509066d02798a391f8b5f33255846d251e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 8 Sep 2012 21:34:36 -0700 Subject: Separate the resampling and mixing steps --- OpenAL32/Include/alu.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenAL32/Include') diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index 68a44177..7402fa0e 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -110,12 +110,12 @@ struct SendParams; typedef ALvoid (*DryMixerFunc)(struct ALsource *self, ALCdevice *Device, struct DirectParams *params, - const ALfloat *RESTRICT data, ALuint srcfrac, + const ALfloat *RESTRICT data, ALuint srcchan, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize); typedef ALvoid (*WetMixerFunc)(struct ALsource *self, ALuint sendidx, struct SendParams *params, - const ALfloat *RESTRICT data, ALuint srcfrac, + const ALfloat *RESTRICT data, ALuint srcchan, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize); @@ -296,9 +296,9 @@ ALvoid ComputeAngleGains(const ALCdevice *device, ALfloat angle, ALfloat hwidth, ALvoid CalcSourceParams(struct ALsource *ALSource, const ALCcontext *ALContext); ALvoid CalcNonAttnSourceParams(struct ALsource *ALSource, const ALCcontext *ALContext); -DryMixerFunc SelectDirectMixer(enum Resampler Resampler); -DryMixerFunc SelectHrtfMixer(enum Resampler Resampler); -WetMixerFunc SelectSendMixer(enum Resampler Resampler); +DryMixerFunc SelectDirectMixer(void); +DryMixerFunc SelectHrtfMixer(void); +WetMixerFunc SelectSendMixer(void); ALvoid MixSource(struct ALsource *Source, ALCdevice *Device, ALuint SamplesToDo); -- cgit v1.2.3