diff options
author | Chris Robinson <[email protected]> | 2012-03-05 00:28:57 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-03-05 00:28:57 -0800 |
commit | 5cdeeb47f3b4dedefd1ceb2b32c2f7754abc058d (patch) | |
tree | 594a6c1fd4f7bfd8c55453d92962edb9ae31ac66 | |
parent | bc1bb7f90fe44bbfa3c4e7f3a3bc1facfc5cabcd (diff) |
Avoid some uninitialized warnings
-rw-r--r-- | Alc/ALc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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]) { |