[Bug 1631] DSOUND_MixOne problem with underrun detection

Wine Bugs wine-bugs at winehq.org
Tue Jul 18 08:44:52 CDT 2006


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





------- Additional Comments From roostey at enterteq.com  2006-18-07 08:44 -------
I don't know if this might help find out what's causing the problem, but I
noticed the same thing when running a direct sound demo that I downloaded from:

http://www.toymaker.info/Games/html/sound1.html

There are four .wav files supplied with the demo and the source is available
from the same page.

1) err:dsound:DSOUND_MixOne underrun on sound buffer 
I've not seen this problem when samples are played just once.  When they are
looped, the underrun problem never affects the Drumroll.wav and Drum3.wav, but
always affects Drum1.wav and Drum2.wav.

2) err:dsound:DSOUND_MixInBuffer length not a multiple of block size
I've seen this error always comes up multiple times before I start seeing the
underrun error when running Drum1.wav or Drum2.wav in a loop, but once the
underrun error starts, then I never see the block size error again.  If the
underrun error doesn't start thent he block size error will loop indefinitely.

3) Sometimes the samples play distorted like there's static in the background. 
This can start happening the first time the sample is played, or after any
number of times that the sample played without distortion.   Wine produces no
errors when this happens.  I was using the Drumroll.wav to test this since it
never produces the underrun error, but I've heard the same thing happen to all
four samples.

I've found that if the static problem doesn't happen at first, then I can quite
often trigger it by activating another window then switching back to the dsound
demo.  It doesn't always work, and sometimes when the static effect is
happening, switching back and forth will "fix" it.

I'm running Ubuntu 6.06 on a nVidia nForce 3 board with built in AC97 audio,
Athlon 64 and 1GB of RAM.  I've compiled  wine 0.9.17 from CVS and I'm using the
OSS driver.  Enabling/disabling driver emulation has no effect.  I've got
exactly the same problems affecting GTAIII, so it's not just the dsound demo.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list