aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-09-14 04:13:18 -0700
committerChris Robinson <[email protected]>2012-09-14 04:13:18 -0700
commit7635afcb520747b74b7c65bb522016c2c7c2da4d (patch)
tree85eba69b24c5c089730636c10aa46dda361cc86a /OpenAL32/Include/alu.h
parent74aee374a646aec1b1ebe40f9efbae692e9720d6 (diff)
Use a source param for the resampler and move them to the mixer source
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r--OpenAL32/Include/alu.h4
1 files changed, 4 insertions, 0 deletions
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,