aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 1327c04f..40538a64 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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;