diff options
author | Chris Robinson <[email protected]> | 2009-12-20 21:19:57 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-12-20 21:19:57 -0800 |
commit | 69c238a2e6c06e5e4889822c3c97dd85a5e2ede4 (patch) | |
tree | 0e34bb45a612bc987c7ce0998616e5b7c6648a43 | |
parent | b3fdf170b18151ddbfa32a312ed7ed7fb3ab1161 (diff) |
Properly retrieve the device frequency
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |