From 5cdeeb47f3b4dedefd1ceb2b32c2f7754abc058d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 5 Mar 2012 00:28:57 -0800 Subject: Avoid some uninitialized warnings --- Alc/ALc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Alc') 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]) { -- cgit v1.2.3