aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-07-15 02:33:05 -0700
committerChris Robinson <[email protected]>2008-07-15 02:33:05 -0700
commit0042b1f80d1d702a432fcdfe56af17e0d7fa6ec9 (patch)
treeb52f065ed5dd16ad45d594f8ca8ae1745cbffacd /Alc
parent6d416ee7348fcb7bbc44467aae48139a2179c53c (diff)
Implement doppler factor source property
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 9ee33203..fcb156a0 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -247,7 +247,7 @@ static ALvoid CalcSourceParams(ALCcontext *ALContext, ALsource *ALSource,
ALfloat WetGainHF = 1.0f;
//Get context properties
- DopplerFactor = ALContext->DopplerFactor;
+ DopplerFactor = ALContext->DopplerFactor * ALSource->DopplerFactor;
DopplerVelocity = ALContext->DopplerVelocity;
flSpeedOfSound = ALContext->flSpeedOfSound;