DirectSound problems - dlls/dsound/mixer.c

Robert Reif reif at earthlink.net
Tue Nov 1 06:57:35 CST 2005


Randall Walls wrote:

> OK,
>
> Tested with Battlezone 2. Both patched and unpatched the in-game (non 
> movie) sound exhibits a popping sound (minor but mildly annoying) with 
> lines and lines of
>
> fixme:wave:DSD_CreateSecondaryBuffer 
> (0x454d16b8,0x4686cad8,ca,0,0x47a002ec,0x4041b054,0x47a002c8): stub

This fixme is harmless.  It just means your hardware supports hardware 
mixing but the wine OSS driver doesn't and falls back to software mixing.

>
> Also tested DeusEx - sound exhibited no errors. In the past the game 
> had always sounded just a bit fuzzy, although I have not played it in 
> so long that it might not be your patch that fixed this issue.
>
This may be related to this problem: 

http://bugs.winehq.org/show_bug.cgi?id=3502

I have a patch which fixes some of the buffer underruns but all of them: 

http://www.winehq.org/pipermail/wine-devel/2005-September/040049.html

There is also a bug in the wine ALSA driver when hardware
acceleration is set to Full and you have wine set to use the device hw:?
Direct sound expects the buffer size to remain the same when changing
primary buffer formats but the wine ALSA driver doesn't do that.  This
causes wine to use a buffer different from what ALSA uses.

Try to use the wine regression tests in wine/dlls/winmm/tests and
wine/dlls/dsound/tests in the interactive mode to find problems.

Also, if you find and fix a bug, create a test for it and add it to the
existing tests so the same bug can be found and fixed in the other
drivers or so the problem doesn't return later (regression).




More information about the wine-devel mailing list