aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-03-05 00:28:57 -0800
committerChris Robinson <[email protected]>2012-03-05 00:28:57 -0800
commit5cdeeb47f3b4dedefd1ceb2b32c2f7754abc058d (patch)
tree594a6c1fd4f7bfd8c55453d92962edb9ae31ac66 /Alc/ALc.c
parentbc1bb7f90fe44bbfa3c4e7f3a3bc1facfc5cabcd (diff)
Avoid some uninitialized warnings
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 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])
{