diff options
author | Chris Robinson <[email protected]> | 2010-02-24 18:51:57 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-02-24 18:51:57 -0800 |
commit | a9e0e57797c6f4321d5776e1f29bf1e75b11e6a1 (patch) | |
tree | 71353f0190332bd69806103e039c2a4293c90a23 /Alc/ALc.c | |
parent | 9b47048231169ec1cdcea1f20638f6426d796e92 (diff) |
Keep UpdateSize updated when apps request a frequency
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1257,6 +1257,9 @@ ALCAPI ALCcontext* ALCAPIENTRY alcCreateContext(ALCdevice *device, const ALCint attrIdx += 2; } + device->UpdateSize = (ALuint64)device->UpdateSize * freq / + device->Frequency; + device->Bs2bLevel = level; device->Frequency = freq; device->lNumMonoSources = numMono; |