summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 05c24bd2..024350ae 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1073,6 +1073,9 @@ static ALCenum UpdateDeviceParams(ALCdevice *device, const ALCint *attrList)
numMono = device->NumMonoSources;
numStereo = device->NumStereoSources;
numSends = device->NumAuxSends;
+ schans = device->FmtChans;
+ stype = device->FmtType;
+ freq = device->Frequency;
while(attrList[attrIdx])
{