include.diff: GetCaps now takes the proper parameter type. test.diff: Notifications now work properly so full test is enabled. The test will now ignore a sound card that supports direct sound capture driver rather than fail. dsound.diff: Rearranged code for proper full duplex operation. Disabled direct sound capture driver support until finished. wineoss.diff: Added more debugging code. Started work on direct sound capture driver. Tried to get wave driver to work better in full duplex mode. Capture works but playback has problems. This patch enables me to do capture and full duplex capture/playback using a USB headset which is not DirectSoundDriver capable by using the wave emulation mode. Sound cards that are DirectSound capable are not supported at this time. A partial but non-functional driver is present but disabled. Commenting out one line of code in capture.c will enable it if you want to see how far it gets. Full duplex is not working well yet but the problem is with playback mixing. I am using the example programs that come with the Direct Sound 8.0 SDK for testing. PlaySound and CaptureSound work well. FullDuplexFilter works but sometimes has problems when you stop and restart it. A real Microsoft msacm32.dll works better then wine's when using formats that aren't supported by the hardware. Once I have full duplex working well, I will resume work on the Direct Sound Capture driver. I could use help from anyone familiar with the OSS driver and Direct Sound code. There are a few things that I have questions about. Thanks, Bob.
Attachment:
wineoss.diff
Description: application/unknown-content-type-diff_auto_file
Attachment:
include.diff
Description: application/unknown-content-type-diff_auto_file
Attachment:
tests.diff
Description: application/unknown-content-type-diff_auto_file
Attachment:
dsound.diff
Description: application/unknown-content-type-diff_auto_file