more direct sound capture fixes

Robert Reif reif at earthlink.net
Wed Feb 26 22:17:05 CST 2003


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wineoss.diff
Type: application/x-unknown-content-type-diff_auto_file
Size: 34485 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030226/c6d32e6e/wineoss.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: include.diff
Type: application/x-unknown-content-type-diff_auto_file
Size: 720 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030226/c6d32e6e/include.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests.diff
Type: application/x-unknown-content-type-diff_auto_file
Size: 3021 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030226/c6d32e6e/tests.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dsound.diff
Type: application/x-unknown-content-type-diff_auto_file
Size: 42662 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030226/c6d32e6e/dsound.bin


More information about the wine-patches mailing list