http://bugs.winehq.org/show_bug.cgi?id=12286
Summary: regression: sound: first fragmented, now the ends are chopped off Product: Wine Version: 0.9.41. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: wine@wkresse.de CC: m.b.lankhorst@gmail.com
Since 0.9.40 I am having problems with sound playback. The application is the Arindal MMORPG-Client (http://www.arindal.com/), but it uses standard QuickTime to play sound (installed QuickTime 7.2.0.240).
The first regression was introduced in 0.9.40. Before that, sound was playing fine. With 0.9.40, sound would no longer be played continuously, but all the sounds (in my case the sound effects of the game) were played fragmented and choppy.
A git bisect shows that this is the problematic commit: a7d6ed8ea65260f62f1762b05c496bee0944e6a1 is first bad commit commit a7d6ed8ea65260f62f1762b05c496bee0944e6a1 Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Wed Jun 13 17:05:49 2007 +0200
dsound: Simplify mixing by removing remixing support, and fix its waveout breakage.
Based on a patch by Peter Dons Tychsen.
:040000 040000 736eca236d0ebae24b5688d44afdce594884fc8a 86bc67d2716bb82bb35154daa77411f4240d3705 M dlls
The second regression (or partial fix of the first regression?) was introduced in 0.9.41. Since then, sounds will play continuously again, but very often (not always) the ends of the sound are chopped off (the last 0.2 seconds or something like that), so that very short sounds are no longer played at all, especially if many or multiple sounds are played in short succession. In addition, sometimes fragments of the "missing" sound bits are played at a later point, for example, when another sound starts playing.
Git bisect where this occured: 976f56d6c0f7bb6c2248412a3b66935d87924e60 is first bad commit commit 976f56d6c0f7bb6c2248412a3b66935d87924e60 Author: Maarten Lankhorst m.b.lankhorst@gmail.com Date: Sun Jul 8 16:36:46 2007 +0200
dsound: Simplify IDirectSoundBufferImpl_GetCurrentPosition.
:040000 040000 b01d7c5c953beee04fe3761828a380f96b4e0b8a 4d7ea3068c00fed65cffcaed24aa95e980ae5dd8 M dlls
Unfortunately, I cannot test whether this has been fixed after 0.9.50, since Arindal will no longer run in current wine versions due to bug #11989.
If you want to test this with Arindal, you can get a free demo account here: http://www.arindal.com/cms/content/view/69/121/lang,de/
Ubuntu 7.10 on AMD Athlon(tm) XP 1600+
http://bugs.winehq.org/show_bug.cgi?id=12286
Patrick König knuff@macnews.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |knuff@macnews.de
http://bugs.winehq.org/show_bug.cgi?id=12286
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression Summary|regression: sound: first |sound: first fragmented, now |fragmented, now the ends are|the ends are chopped off |chopped off |
http://bugs.winehq.org/show_bug.cgi?id=12286
--- Comment #1 from Wolfram Kresse wine@wkresse.de 2008-03-30 17:24:45 --- Having found a workaround to bug #11989 I can now confirm that the current situation which was introduced in 0.9.41 is still present in the current git version.
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)
http://bugs.winehq.org/show_bug.cgi?id=12286
Wolfram Kresse wine@wkresse.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-dsound
http://bugs.winehq.org/show_bug.cgi?id=12286
--- Comment #3 from Patrick König knuff@macnews.de 2008-06-02 22:13:08 --- (In reply to comment #2)
Can confirm the problem still exists in wine 1.0rc3. Does sound a bit less chopped off than in the recorded version, though.
http://bugs.winehq.org/show_bug.cgi?id=12286
--- Comment #4 from Austin English austinenglish@gmail.com 2009-01-03 12:33:20 --- Please retest in 1.1.12 or newer wine.
http://bugs.winehq.org/show_bug.cgi?id=12286
--- Comment #5 from Wolfram Kresse wine@wkresse.de 2009-01-04 10:46:17 --- The bug is still present in 1.1.12 and current git.
http://bugs.winehq.org/show_bug.cgi?id=12286
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net
--- Comment #6 from Rosanne DiMesio dimesio@earthlink.net 2010-06-07 18:52:03 --- Is this still an issue in current (1.2-rc2 or newer) Wine?
http://bugs.winehq.org/show_bug.cgi?id=12286
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |mstefani@redhat.com Ever Confirmed|0 |1
--- Comment #7 from Michael Stefaniuc mstefani@redhat.com 2010-11-16 14:58:04 CST --- Confirming as per comment #2
http://bugs.winehq.org/show_bug.cgi?id=12286
--- Comment #8 from Wolfram Kresse wine@wkresse.de 2010-11-16 16:32:32 CST --- (In reply to comment #6)
Is this still an issue in current (1.2-rc2 or newer) Wine?
Yes, the bug is still present in 1.3.4-0ubuntu1~lucidppa1.
http://bugs.winehq.org/show_bug.cgi?id=12286
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |a7d6ed8ea65260f62f1762b05c4 | |96bee0944e6a1
http://bugs.winehq.org/show_bug.cgi?id=12286
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #9 from joaopa jeremielapuree@yahoo.fr 2012-07-20 11:44:02 CDT --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=12286
--- Comment #10 from joaopa jeremielapuree@yahoo.fr 2013-04-14 01:58:19 CDT --- No answer since more 2years and half. Probably fixed anyway.
This bug can be closed as ABANDONED.
http://bugs.winehq.org/show_bug.cgi?id=12286
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |ABANDONED
--- Comment #11 from Rosanne DiMesio dimesio@earthlink.net 2013-04-14 06:30:07 CDT --- The link in the bug description leads to a page that says "Unfortunately Arindal has closed it's gates - the game doesn't exist anymore."
Marking abandoned.
http://bugs.winehq.org/show_bug.cgi?id=12286
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Austin English austinenglish@gmail.com 2013-04-22 21:13:28 CDT --- Closing.