http://bugs.winehq.org/show_bug.cgi?id=3026
------- Additional Comments From todd.merrill@comcast.net 2005-04-06 23:39 ------- Hello,
I'm getting similar DSOUND errors when trying to run some DirectX games as well. For example, World War II Online:
WINEDEBUG="+wave,+dsound" wine WW2.exe ALSA lib control.c:739:(snd_ctl_open_noupdate) Invalid CTL plug:hw:0 err:opengl:X11DRV_DescribePixelFormat unexpected iPixelFormat(140) > nFormats(139), returns NULL err:dsound:DSOUND_MixOne underrun on sound buffer 0x74479510 err:dsound:DSOUND_MixOne underrun on sound buffer 0x7447b100 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 275, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 257, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 161, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 67, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 329, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 339, block size = 2 err:dsound:DSOUND_MixOne underrun on sound buffer 0x74479510 err:dsound:DSOUND_MixOne underrun on sound buffer 0x7447b100 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 3, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 187, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 309, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 163, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 217, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 3, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 417, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 175, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 3, block size = 2 err:dsound:DSOUND_MixInBuffer length not a multiple of block size, len = 291, block size = 2
Then the game freezes.
I've tried two different versions of ALSA (1.0.8, 1.0.9), four different sound cards (2x emu10k1, cs46xx, cmipci), and Wine CVS with no luck. I also tried switching between Wine's ALSA and OSS drivers, along with hardware emulation, but to no avail. The game works great with the sound disabled though.
The regression tests segfaulted with every sound card and driver I tried.