aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-01-11 07:02:29 -0800
committerChris Robinson <[email protected]>2010-01-11 07:02:29 -0800
commit3d7f925d521ec8b456d60583b84ac2f97b21059a (patch)
tree32c8bd9086ab3c00b5635bdd9068c926da2b7488 /Alc/ALc.c
parent93b584ff8419f76d934e0a6e9cbc55cf907ea259 (diff)
Add helpful values to the resampler enum
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 15bb01be..fb771b24 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -268,9 +268,9 @@ static void alc_init(void)
RTPrioLevel = GetConfigValueInt(NULL, "rt-prio", 0);
- DefaultResampler = GetConfigValueInt(NULL, "resampler", LINEAR);
- if(DefaultResampler >= RESAMPLER_MAX || DefaultResampler < POINT)
- DefaultResampler = LINEAR;
+ DefaultResampler = GetConfigValueInt(NULL, "resampler", RESAMPLER_DEFAULT);
+ if(DefaultResampler >= RESAMPLER_MAX || DefaultResampler <= RESAMPLER_MIN)
+ DefaultResampler = RESAMPLER_DEFAULT;
devs = GetConfigValue(NULL, "drivers", "");
if(devs[0])