winealsa.drv: Re-add capcontrols initialization.
This commit is contained in:
parent
87f0ba49e0
commit
4b5641add1
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue