diff options
author | Chris Robinson <[email protected]> | 2008-07-15 02:33:05 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-07-15 02:33:05 -0700 |
commit | 0042b1f80d1d702a432fcdfe56af17e0d7fa6ec9 (patch) | |
tree | b52f065ed5dd16ad45d594f8ca8ae1745cbffacd /Alc | |
parent | 6d416ee7348fcb7bbc44467aae48139a2179c53c (diff) |
Implement doppler factor source property
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |