direct sound multiple device support

Robert Reif reif at earthlink.net
Mon Mar 10 18:46:51 CST 2003


This patch set adds support for multiple sound devices.
Enumerating over all the physical sound devices is now
supported.  The driver and hardware description info
are now extracted from the OS driver.  OSS support is
complete and a minimal ALSA patch is supplied.
The ALSA patch is not tested other than it compiles.
Two new configuration options are added to [dsound]
to set which devices are the default.  The options are:
"DefaultPlayback" = "#"  where # is the sound card number
(between 0 and number of devices - 1) and
"DefaultCapture" = "#".  The defaults are 0 for the first
devices (/dev/dsp, /dev/mixer).

Two new driver messages are defined to get the direct
sound driver description and the GUID.  These also work
for emulated mode using wave api. I am not sure what
the proper procedure for defining new GUIDs is so the
ones I picked may need changing.

I am running this patch on RH8.0 and it works but I don't
always get what I would expect. RH8.0 seems to have
problems with multiple sound cards and USB discovery.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmm.diff
Type: application/x-unknown-content-type-diff_auto_file
Size: 778 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030310/326d739d/winmm.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: include.diff
Type: application/x-unknown-content-type-diff_auto_file
Size: 475 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030310/326d739d/include.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winealsa.diff
Type: application/x-unknown-content-type-diff_auto_file
Size: 2703 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030310/326d739d/winealsa.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wineoss.diff
Type: application/x-unknown-content-type-diff_auto_file
Size: 7438 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030310/326d739d/wineoss.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsound.diff
Type: application/x-unknown-content-type-diff_auto_file
Size: 14557 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030310/326d739d/dsound.bin


More information about the wine-patches mailing list