aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_defs.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 /Alc/mixer_defs.h
parent74aee374a646aec1b1ebe40f9efbae692e9720d6 (diff)
Use a source param for the resampler and move them to the mixer source
Diffstat (limited to 'Alc/mixer_defs.h')
-rw-r--r--Alc/mixer_defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Alc/mixer_defs.h b/Alc/mixer_defs.h
index 7e930a39..38cdb935 100644
--- a/Alc/mixer_defs.h
+++ b/Alc/mixer_defs.h
@@ -10,6 +10,12 @@ struct ALsource;
struct DirectParams;
struct SendParams;
+/* C resamplers */
+void Resample_point32_C(const ALfloat *src, ALuint frac, ALuint increment, ALuint NumChannels, ALfloat *RESTRICT dst, ALuint dstlen);
+void Resample_lerp32_C(const ALfloat *src, ALuint frac, ALuint increment, ALuint NumChannels, ALfloat *RESTRICT dst, ALuint dstlen);
+void Resample_cubic32_C(const ALfloat *src, ALuint frac, ALuint increment, ALuint NumChannels, ALfloat *RESTRICT dst, ALuint dstlen);
+
+
/* C mixers */
void MixDirect_Hrtf_C(struct ALsource*,ALCdevice*,struct DirectParams*,const ALfloat*RESTRICT,ALuint,ALuint,ALuint,ALuint);
void MixDirect_C(struct ALsource*,ALCdevice*,struct DirectParams*,const ALfloat*RESTRICT,ALuint,ALuint,ALuint,ALuint);