[Bug 28723] Sound stutter in Rage when emulated windows version is set to "Windows 7" (XAudio2 -> mmdevapi sound output path)
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Dec 21 11:52:37 CST 2011
http://bugs.winehq.org/show_bug.cgi?id=28723
--- Comment #110 from Andrew Eikum <aeikum at codeweavers.com> 2011-12-21 11:52:37 CST ---
(In reply to comment #109)
> Andrew, what are the current mechanisms to select a particular device in
> winealsa? Back then there was the registry, nowadays I'm editing
> mmdevdrv.c:defname[] by hand to e.g. "plug:dmix" or "plughw:0,0". If there's
> none, that's a bug. There should be one, e.g. to select surround devices or
> whatever ALSA has to offer.
>
Well, we have the selectors for the default device in winecfg. That lists all
of the devices that are discoverable by winealsa.drv. Unfortunately, there
doesn't seem to be any way to get a list of devices from ALSA. I saw your
recent mail to alsa-devel. Hopefully they respond with something useful. I
expect they won't.
If not, I guess we could add (or re-add) a registry entry for undiscoverable
devices. Perhaps a comma-separated list of device names. It really sucks that
the user would have to input this.
Looking at VLC, they also use snd_card_next(), snd_ctl_pcm_next_device() and
friends to do device enumeration. mplayer has a bunch of hard-coded defaults
("default", "surround40", "surround51", "plug:" prefixes for each of those),
although there's no documented location of those device names as far as I'm
aware.
Hooray ALSA... We should move this discussion to a separate bug.
> Do we have a specific Pulse Underrun bug entry? Not bug #10495
>
I thought we did have a bug where we discussed adding handle_underrun (before
your Bug 28040), especially in context of StarCraft 2, but I can't find one.
Maybe that was discussed entirely on IRC.
--
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