[Bug 23902] EVE Online crashes during audio initialization

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 22 04:52:27 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=23902





--- Comment #41 from Stanislav Larionov <sudemon at 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

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list