https://bugs.winehq.org/show_bug.cgi?id=42720
Bug ID: 42720 Summary: Can't play audio files in Adobe Audition CS5.5 since Wine 1.7.54 Product: Wine Version: 2.4 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winepulse.drv Assignee: wine-bugs@winehq.org Reporter: fincer89@hotmail.com Distribution: ---
Created attachment 57696 --> https://bugs.winehq.org/attachment.cgi?id=57696 Adobe Audition CS5.5, audio debug log
As the title says, playing audio files is impossible with Wine versions newer than 1.7.54. I tested multiple Wine versions and could narrow it down to Wine 1.7.55 with which the audio doesn't play anymore.
With Wine versions older than 1.7.55 audio can be played/paused/resumed without any issues. With more recent Wine versions, such as Wine 2.4, Wine 1.9.X, the audio playback doesn't work according to my tests.
I noticed that Wine 1.7.55 introduced multiple audio improvements, especially to PulseAudio driver. I'm not 100% sure the bug is related to winepulse.drv but it's a good guess.
At least, the following audio-related changes were introduced in Wine 1.7.55:
xaudio2/tests: Fix memory leaks. xaudio2: For legacy xaudio2, prefer native version. winecoreaudio: Handle sysex MIDI messages. xaudio2_7: Update current buffer position after flushing buffers. winepulse: Always mute buffer. winepulse: In Shared mode, track device position in bytes. winepulse: Prefer PulseAudio driver. winepulse: Add initial stub for pulseaudio support. winepulse: Add format and period probing. winepulse: Add audioclient. winepulse: Add IAudioRenderClient and IAudioCaptureClient. winepulse: Add IAudioClock and IAudioClock2. winepulse: Add audiostreamvolume. winepulse: Add session support. winepulse: Forward winmm functions to winealsa. winepulse: Fixup IsFormatSupported calls. winepulse: Add support for IMarshal. winepulse: Handle stream create failing correctly. winepulse: Add stub for GetPropValue. winepulse: Return PKEY_AudioEndpoint_PhysicalSpeakers device prop.
I don't have any audio-related overrides in my winecfg settings.
I've attached a debug log, with all the flags suggested in https://wiki.winehq.org/Sound
Debug session performed with 32-bit Wine 2.4 (Git version).
https://bugs.winehq.org/show_bug.cgi?id=42720
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fincer89@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=42720
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #1 from winetest@luukku.com --- You should run regression test to hunt down the commit that broke it. It's not that hard if you can compile wine yourself.
https://bugs.winehq.org/show_bug.cgi?id=42720
--- Comment #2 from Fincer fincer89@hotmail.com --- Thanks for the hint! I'll do that.
https://bugs.winehq.org/show_bug.cgi?id=42720
--- Comment #3 from Fincer fincer89@hotmail.com --- I did regression test between Wine versions 1.7.54 & 1.7.55. The issue is caused by
https://source.winehq.org/git/wine.git/commit/a410990f7cb0fd7477d4594f864442...
I double checked this conclusion by reverting the changes which this commit introduces, and re-compiled Wine 1.7.55 without it. Tested also on Wine 2.4 (git).
Result: Adobe Audition playback worked as expected after the commit was reverted on both Wine versions. No more commits seem to relate to the issue.
In summary:
PulseAudio's DriverPriority...
Priority_Low =works Priority_Preferred = doesn't work
I don't know the reason, though. I've set PulseAudio as my "Audio Hardware" in both winecfg & Audition preferences (default settings).
For now, I just revert the changes the commit introduces and compile Wine from source unless better solution will not be introduced.
https://bugs.winehq.org/show_bug.cgi?id=42720
Fincer fincer89@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=42720
--- Comment #4 from Andrew Eikum aeikum@codeweavers.com --- Thanks for the nice bug report.
In the log from your initial bug report, did you try to actually play any audio, or simply open & close the application?
I have two suggestions. First, check your PA mixer (pavucontrol is one option) to ensure the application's audio is being sent to the right hardware device. Second, if that looks right, then try re-installing the application into a clean prefix.
If neither of those fixes the issue, then can you get me a successful audio log including a short segment of playback when running with winealsa?
Instead of rebuilding Wine with PA disabled, you can select the driver in the registry with the Audio driver registry setting.
[HKCU\Software\Wine\Drivers] Audio="alsa"
See also: https://wiki.winehq.org/Useful_Registry_Keys
https://bugs.winehq.org/show_bug.cgi?id=42720
--- Comment #5 from Fincer fincer89@hotmail.com --- Thank you for fast response!
Well well, this was simpler than I thought. Clean prefix = everything works. With winepulse.drv, too. The program needs msxml3 override, but that's another issue.
Lesson number one: always use clean prefix.
The issue can be closed as invalid.
Sorry for taking your time.
https://bugs.winehq.org/show_bug.cgi?id=42720
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #6 from Andrew Eikum aeikum@codeweavers.com --- (In reply to Fincer from comment #5)
Thank you for fast response!
Well well, this was simpler than I thought. Clean prefix = everything works. With winepulse.drv, too. The program needs msxml3 override, but that's another issue.
Lesson number one: always use clean prefix.
The issue can be closed as invalid.
Sorry for taking your time.
No problem. One could argue it's still a bug--we shouldn't break prefixes from one version to another--but we're not likely to fix it at this point.
Thanks again for reporting.
https://bugs.winehq.org/show_bug.cgi?id=42720
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Frédéric Delanoy frederic.delanoy@gmail.com --- Closing INVALID bugs
https://bugs.winehq.org/show_bug.cgi?id=42720
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |a410990f7cb0fd7477d4594f864 | |4428ca8873f0e Summary|Can't play audio files in |Adobe Audition CS5.5: Can't |Adobe Audition CS5.5 since |play audio files since Wine |Wine 1.7.54 |1.7.54 (PulseAudio driver | |changes require new | |WINEPREFIX) Version|2.4 |1.7.54 URL| |https://web.archive.org/web | |/20210221110408/https://tri | |als.adobe.com/AdobeProducts | |/legacy/99CABBAC-C975-4A06- | |8D99-064C6871EE80/AUDT/4/wi | |n32/Audition_4_LS7.exe Keywords| |download, regression CC| |focht@gmx.net