summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALu.c72
-rw-r--r--OpenAL32/Include/alSource.h8
2 files changed, 40 insertions, 40 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 15957232..f8455dda 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1107,12 +1107,12 @@ another_source:
switch(Resampler)
{
- case POINT: DO_MIX(point);
- break;
- case LINEAR: DO_MIX(lerp);
- break;
- case COSINE: DO_MIX(cos_lerp);
- break;
+ case POINT_RESAMPLER:
+ DO_MIX(point); break;
+ case LINEAR_RESAMPLER:
+ DO_MIX(lerp); break;
+ case COSINE_RESAMPLER:
+ DO_MIX(cos_lerp); break;
case RESAMPLER_MIN:
case RESAMPLER_MAX:
break;
@@ -1157,12 +1157,12 @@ another_source:
switch(Resampler)
{
- case POINT: DO_MIX(point);
- break;
- case LINEAR: DO_MIX(lerp);
- break;
- case COSINE: DO_MIX(cos_lerp);
- break;
+ case POINT_RESAMPLER:
+ DO_MIX(point); break;
+ case LINEAR_RESAMPLER:
+ DO_MIX(lerp); break;
+ case COSINE_RESAMPLER:
+ DO_MIX(cos_lerp); break;
case RESAMPLER_MIN:
case RESAMPLER_MAX:
break;
@@ -1178,12 +1178,12 @@ another_source:
switch(Resampler)
{
- case POINT: DO_MIX(point);
- break;
- case LINEAR: DO_MIX(lerp);
- break;
- case COSINE: DO_MIX(cos_lerp);
- break;
+ case POINT_RESAMPLER:
+ DO_MIX(point); break;
+ case LINEAR_RESAMPLER:
+ DO_MIX(lerp); break;
+ case COSINE_RESAMPLER:
+ DO_MIX(cos_lerp); break;
case RESAMPLER_MIN:
case RESAMPLER_MAX:
break;
@@ -1200,12 +1200,12 @@ another_source:
switch(Resampler)
{
- case POINT: DO_MIX(point);
- break;
- case LINEAR: DO_MIX(lerp);
- break;
- case COSINE: DO_MIX(cos_lerp);
- break;
+ case POINT_RESAMPLER:
+ DO_MIX(point); break;
+ case LINEAR_RESAMPLER:
+ DO_MIX(lerp); break;
+ case COSINE_RESAMPLER:
+ DO_MIX(cos_lerp); break;
case RESAMPLER_MIN:
case RESAMPLER_MAX:
break;
@@ -1223,12 +1223,12 @@ another_source:
switch(Resampler)
{
- case POINT: DO_MIX(point);
- break;
- case LINEAR: DO_MIX(lerp);
- break;
- case COSINE: DO_MIX(cos_lerp);
- break;
+ case POINT_RESAMPLER:
+ DO_MIX(point); break;
+ case LINEAR_RESAMPLER:
+ DO_MIX(lerp); break;
+ case COSINE_RESAMPLER:
+ DO_MIX(cos_lerp); break;
case RESAMPLER_MIN:
case RESAMPLER_MAX:
break;
@@ -1246,12 +1246,12 @@ another_source:
switch(Resampler)
{
- case POINT: DO_MIX(point);
- break;
- case LINEAR: DO_MIX(lerp);
- break;
- case COSINE: DO_MIX(cos_lerp);
- break;
+ case POINT_RESAMPLER:
+ DO_MIX(point); break;
+ case LINEAR_RESAMPLER:
+ DO_MIX(lerp); break;
+ case COSINE_RESAMPLER:
+ DO_MIX(cos_lerp); break;
case RESAMPLER_MIN:
case RESAMPLER_MAX:
break;
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index dd9295c0..2316dd9f 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -23,13 +23,13 @@ extern "C" {
#endif
typedef enum {
- POINT = 0,
- LINEAR,
- COSINE,
+ POINT_RESAMPLER = 0,
+ LINEAR_RESAMPLER,
+ COSINE_RESAMPLER,
RESAMPLER_MAX,
RESAMPLER_MIN = -1,
- RESAMPLER_DEFAULT = LINEAR
+ RESAMPLER_DEFAULT = LINEAR_RESAMPLER
} resampler_t;
extern resampler_t DefaultResampler;