http://bugs.winehq.org/show_bug.cgi?id=28745
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #1 from Andrew Eikum aeikum@codeweavers.com 2012-01-31 13:42:34 CST --- The trouble here is pretty obvious. In <dlls/dsound/propset.c:enum_callback>, the DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA struct never gets filled all the way before being returned to the application. The problem with fixing this is that it isn't "easy."
What we should probably do is build a table of devices on first entry, like WinMM does. Then we can obtain all of that information at once, in one spot, and have it always available. We'll also need to figure out some way of reliably mapping DSound devices to WinMM devices, to fill the WaveDeviceId slot.