aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-16 20:32:19 -0800
committerChris Robinson <[email protected]>2018-11-16 20:32:19 -0800
commit53373a43b8984aea6a7e2107b264d208c00a5f53 (patch)
tree0d9326fd52f7818adc007f76acd452e3e6a03246 /OpenAL32
parent317acd6ae2f110c76fd1e019a3066c8c45b64921 (diff)
Convert ALu.c to C++
Required changes to bsincgen to generate C++-friendly structures.
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 03c388b4..2dbd3107 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -136,7 +136,7 @@ inline void aluMatrixfSet(aluMatrixf *matrix, ALfloat m00, ALfloat m01, ALfloat
}
-enum ActiveFilters {
+enum {
AF_None = 0,
AF_LowPass = 1,
AF_HighPass = 2,
@@ -285,7 +285,7 @@ typedef struct ALvoice {
InterpState ResampleState;
struct {
- enum ActiveFilters FilterType;
+ int FilterType;
DirectParams Params[MAX_INPUT_CHANNELS];
ALfloat (*Buffer)[BUFFERSIZE];
@@ -294,7 +294,7 @@ typedef struct ALvoice {
} Direct;
struct {
- enum ActiveFilters FilterType;
+ int FilterType;
SendParams Params[MAX_INPUT_CHANNELS];
ALfloat (*Buffer)[BUFFERSIZE];