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.
Attachment:
winmm.diff
Description: application/unknown-content-type-diff_auto_file
Attachment:
include.diff
Description: application/unknown-content-type-diff_auto_file
Attachment:
winealsa.diff
Description: application/unknown-content-type-diff_auto_file
Attachment:
wineoss.diff
Description: application/unknown-content-type-diff_auto_file
Attachment:
dsound.diff
Description: application/unknown-content-type-diff_auto_file