http://bugs.winehq.org/show_bug.cgi?id=23902
--- Comment #41 from Stanislav Larionov sudemon@gmail.com 2010-08-22 04:52:27 --- Hello, Jeff Cook: ==================================================================== Please, add TRACE's for ALSA_MixerInit, for-loop-construction after : ==================================================================== /* First, lets see what's available.. * If there are multiple Master or Captures, all except 1 will be added as slaves */ for (elem = snd_mixer_first_elem(mixdev[mixnum].mix); elem; elem = snd_mixer_elem_next(elem)) if (!strcasecmp(snd_mixer_selem_get_name(elem), "Master") && !mastelem) mastelem = elem; else if (!strcasecmp(snd_mixer_selem_get_name(elem), "Capture") && !captelem) captelem = elem; else if (!strcasecmp(snd_mixer_selem_get_name(elem), "Mic") && !micelem && !mastelem) /* this is what snd-usb-audio mics look like;..................*/ micelem = elem ==================================================================== Regression found in this construction (if removed it, games don't crash) : ==================================================================== "else if (!strcasecmp(snd_mixer_selem_get_name(elem), "Mic") && !micelem && !mastelem)" /* this is what snd-usb-audio mics look like;..................*/ micelem = elem