aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-18 16:16:55 -0700
committerChris Robinson <[email protected]>2011-09-18 16:16:55 -0700
commit7e06a10f73d5955de7bba35da09e5941cee56dc8 (patch)
tree4e2394246a4912ee762c7a01fa365cceade58e50 /OpenAL32/alSource.c
parentd46db2f648e7d00ae138fb98bd0ee49014c501a6 (diff)
Return int and float config values through a parameter
This allows the getter functions to return whether or not the option exists without a separate call and check.
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index a093af4e..f98efc20 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -33,7 +33,7 @@
#include "alAuxEffectSlot.h"
-enum Resampler DefaultResampler;
+enum Resampler DefaultResampler = RESAMPLER_DEFAULT;
const ALsizei ResamplerPadding[RESAMPLER_MAX] = {
0, /* Point */
1, /* Linear */