aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-01-11 05:37:20 -0800
committerChris Robinson <[email protected]>2010-01-11 05:37:20 -0800
commit705849ca7371176d4e645b92898cb9a235602f9f (patch)
treebd6f3825bc2f84d1dff371a73c4e36baeafd2d26 /OpenAL32/alSource.c
parent1a57f095e8970f11edccd6f122b7a87391b04166 (diff)
Add an option for point resampling
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 5ffc503c..5ad255d6 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -1818,6 +1818,8 @@ static ALvoid InitSourceParams(ALsource *pSource)
pSource->DistanceModel = AL_INVERSE_DISTANCE_CLAMPED;
+ pSource->Resampler = DefaultResampler;
+
pSource->state = AL_INITIAL;
pSource->lSourceType = AL_UNDETERMINED;