aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-12-20 21:19:57 -0800
committerChris Robinson <[email protected]>2009-12-20 21:19:57 -0800
commit69c238a2e6c06e5e4889822c3c97dd85a5e2ede4 (patch)
tree0e34bb45a612bc987c7ce0998616e5b7c6648a43 /Alc/ALu.c
parentb3fdf170b18151ddbfa32a312ed7ed7fb3ab1161 (diff)
Properly retrieve the device frequency
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index f54dfaf5..5bb386a8 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -417,7 +417,7 @@ static ALvoid CalcNonAttnSourceParams(const ALCcontext *ALContext, ALsource *ALS
//Get context properties
NumSends = ALContext->Device->NumAuxSends;
- Frequency = ALContext->Device->NumAuxSends;
+ Frequency = ALContext->Device->Frequency;
//Get listener properties
ListenerGain = ALContext->Listener.Gain;