http://bugs.winehq.org/show_bug.cgi?id=12286
--- Comment #2 from Wolfram Kresse wine@wkresse.de 2008-03-30 22:02:44 --- Created an attachment (id=11757) --> (http://bugs.winehq.org/attachment.cgi?id=11757) testcase, soundexample, +dsound log
Some more info:
sound_ok.wav: This is what it should sound like. Recorded with a pre-0.9.40 wine. sound_buggy.wav: This it how it currently sounds. Recorded with a post-0.9.41 wine. The first sound is played correctly, but then the first fraction of that sound is repeated. The second sound (and any following identical sounds) will consist only of that fraction, not the complete sound. sound_buggy.log: A log produced with the current git wine, the bug #11989 workaround, and +dsound, while the above double-sound was playing 2008.03.31_03.05.16.clMov: This is an ingame-movie of the two sounds. The movie can be replayed using Arindal.exe ("Datei->Film abspielen") and will reproduce the correct sound when using pre-0.9.40, and cut-off sounds when using post-0.9.41. The sound fragmentation of 0.9.40 cannot be reproduced with it, because for sufficiently short sounds the fragmentation effect results simply in a (very short) bit of the end of the sound being chopped off.
Note that under heavy CPU load, the pre-0.9.40 version sounds will be cut-off in a similar (if not identical) fashion as the post-0.9.41 sounds, while throwing a message such as this: 0012:fixme:dsound:DSOUND_MixOne problem with underrun detection (mixlen=13604 < primary_done=18784)