http://bugs.winehq.org/show_bug.cgi?id=29531
Bug #: 29531 Summary: Folder navigation causes audio playback glitches in CDBurnerXP Product: Wine Version: 1.3.36 Platform: x86-64 URL: http://cdburnerxp.se/download?more-options OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winealsa.drv AssignedTo: wine-bugs@winehq.org ReportedBy: RandomAccountName@mail.com CC: aeikum@codeweavers.com Classification: Unclassified Regression SHA1: b0652dd8bdb144645be4a6bf77cbb68a8ade49d9
Created attachment 38258 --> http://bugs.winehq.org/attachment.cgi?id=38258 +tid,+mmdevapi,+winmm,+midi,+dsound,+dmusic,+mci,+oss,+alsa,+coreaudio log (4.3MB)
CDBurnerXP has an integrated audio player to allow playing the tracks in an audio CD compilation before burning it. It also has a file browser from which audio files can be added to the compilation.
Trying to use both of these features at once causes audio playback glitches since 1.3.31: when changing folders in the file browser, the currently-playing audio may stutter for a moment (not every time). Regression testing indicated:
b0652dd8bdb144645be4a6bf77cbb68a8ade49d9 is the first bad commit commit b0652dd8bdb144645be4a6bf77cbb68a8ade49d9 Author: Andrew Eikum aeikum@codeweavers.com Date: Mon Oct 10 15:56:55 2011 -0500
winealsa.drv: Don't try to control ALSA's behavior.
Now, winealsa maintains its own buffer, which is written to ALSA on the period cycle requested by the application. We also let ALSA start when it has enough data and stop when it runs out, recovering from the expected underruns. This seems to be more like how ALSA expects to be used.
:040000 040000 874ae9456f596d46ee3911eabcbc6f291afe48cb 62ca893abef4dd0459b201d4c45d0c7b0c87a989 M dlls
git checkout b0652dd8bdb144645be4a6bf77cbb68a8ade49d9 -> changing folders can interrupt audio playback git checkout b0652dd8bdb144645be4a6bf77cbb68a8ade49d9^ -> audio is never interrupted
The attached log is from a system using just ALSA, no PulseAudio. I also checked another system with PulseAudio running, and the same problem exists there.
Steps to reproduce:
1. Install .NET prerequisite with winetricks dotnet20 2. Install and run CDBurnerXP 3. Choose "audio disc" mode from the main menu 4. Use the file browser at the top and the "add" button to add at least one wav/flac/mp3 file to the compilation (drag and drop won't work, see bug 22691) 5. Double-click the audio file in the lower section of the screen to start playback (the "play" button won't work, even on Windows) 6. Now use either the treeview or listview portion of the file browser to enter various folders