From 574792d2e1bf46f80fb257db6af68c47f5733b2e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 11 Jan 2010 23:47:03 -0800 Subject: Fix Windows compilation --- Alc/ALu.c | 72 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'Alc') 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; -- cgit v1.2.3