2012-08-15 08:01:55 +00:00
|
|
|
#ifndef MIXER_DEFS_H
|
|
|
|
#define MIXER_DEFS_H
|
|
|
|
|
|
|
|
#include "AL/alc.h"
|
|
|
|
#include "AL/al.h"
|
|
|
|
#include "alMain.h"
|
|
|
|
|
|
|
|
struct DirectParams;
|
|
|
|
struct SendParams;
|
|
|
|
|
2012-09-14 11:13:18 +00:00
|
|
|
/* C resamplers */
|
2013-05-22 22:11:39 +00:00
|
|
|
void Resample_copy32_C(const ALfloat *src, ALuint frac, ALuint increment, ALfloat *restrict dst, ALuint dstlen);
|
|
|
|
void Resample_point32_C(const ALfloat *src, ALuint frac, ALuint increment, ALfloat *restrict dst, ALuint dstlen);
|
|
|
|
void Resample_lerp32_C(const ALfloat *src, ALuint frac, ALuint increment, ALfloat *restrict dst, ALuint dstlen);
|
|
|
|
void Resample_cubic32_C(const ALfloat *src, ALuint frac, ALuint increment, ALfloat *restrict dst, ALuint dstlen);
|
2012-09-14 11:13:18 +00:00
|
|
|
|
|
|
|
|
2012-08-15 08:01:55 +00:00
|
|
|
/* C mixers */
|
2013-05-22 22:11:39 +00:00
|
|
|
void MixDirect_Hrtf_C(const struct DirectParams*,const ALfloat*restrict,ALuint,ALuint,ALuint,ALuint);
|
|
|
|
void MixDirect_C(const struct DirectParams*,const ALfloat*restrict,ALuint,ALuint,ALuint,ALuint);
|
|
|
|
void MixSend_C(const struct SendParams*,const ALfloat*restrict,ALuint,ALuint,ALuint);
|
2012-08-15 08:01:55 +00:00
|
|
|
|
|
|
|
/* SSE mixers */
|
2013-05-22 22:11:39 +00:00
|
|
|
void MixDirect_Hrtf_SSE(const struct DirectParams*,const ALfloat*restrict,ALuint,ALuint,ALuint,ALuint);
|
|
|
|
void MixDirect_SSE(const struct DirectParams*,const ALfloat*restrict,ALuint,ALuint,ALuint,ALuint);
|
|
|
|
void MixSend_SSE(const struct SendParams*,const ALfloat*restrict,ALuint,ALuint,ALuint);
|
2012-08-15 08:01:55 +00:00
|
|
|
|
|
|
|
/* Neon mixers */
|
2013-05-22 22:11:39 +00:00
|
|
|
void MixDirect_Hrtf_Neon(const struct DirectParams*,const ALfloat*restrict,ALuint,ALuint,ALuint,ALuint);
|
2014-01-26 09:34:39 +00:00
|
|
|
void MixDirect_Neon(const struct DirectParams*,const ALfloat*restrict,ALuint,ALuint,ALuint,ALuint);
|
|
|
|
void MixSend_Neon(const struct SendParams*,const ALfloat*restrict,ALuint,ALuint,ALuint);
|
2012-08-15 08:01:55 +00:00
|
|
|
|
|
|
|
#endif /* MIXER_DEFS_H */
|