From 69c238a2e6c06e5e4889822c3c97dd85a5e2ede4 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 20 Dec 2009 21:19:57 -0800 Subject: Properly retrieve the device frequency --- Alc/ALu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3