aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alu.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include/alu.h')
-rw-r--r--OpenAL32/Include/alu.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 642fb944..c3c7a20c 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -62,6 +62,10 @@ typedef struct BsincState {
} coeffs[BSINC_PHASE_COUNT];
} BsincState;
+typedef union InterpState {
+ BsincState bsinc;
+} InterpState;
+
typedef union aluVector {
alignas(16) ALfloat v[4];
@@ -148,7 +152,7 @@ typedef struct SendParams {
} SendParams;
-typedef const ALfloat* (*ResamplerFunc)(const BsincState *state,
+typedef const ALfloat* (*ResamplerFunc)(const InterpState *state,
const ALfloat *restrict src, ALuint frac, ALint increment,
ALfloat *restrict dst, ALsizei dstlen
);