winealsa.drv: Re-add capcontrols initialization.

This commit is contained in:
Marcus Meissner 2010-12-26 14:36:47 +01:00 committed by Alexandre Julliard
parent 87f0ba49e0
commit 4b5641add1
1 changed files with 1 additions and 1 deletions

View File

@ -431,7 +431,7 @@ static void ALSA_MixerInit(void)
info = HeapAlloc( GetProcessHeap(), 0, snd_ctl_card_info_sizeof()); info = HeapAlloc( GetProcessHeap(), 0, snd_ctl_card_info_sizeof());
for (x = 0; x < MAX_MIXERS; ++x) for (x = 0; x < MAX_MIXERS; ++x)
{ {
int card, err, capcontrols, total_elems = 0; int card, err, capcontrols = 0, total_elems = 0;
char cardind[6], cardname[10]; char cardind[6], cardname[10];
snd_ctl_t *ctl; snd_ctl_t *ctl;