https://bugs.winehq.org/show_bug.cgi?id=57587
Bug ID: 57587 Summary: 10.0-rc1 regression (dsoundrender): no audio or hangs in some videos Product: Wine Version: 10.0-rc1 Hardware: x86-64 URL: https://github.com/castaneai/microkiri/releases/downlo ad/v0.1.0/microkiri_v0.1.zip OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: quartz Assignee: wine-bugs@winehq.org Reporter: winebugs@print0.net CC: z.figura12@gmail.com Regression SHA1: 971a05f10faa0765b44287d902e3cfcc4e0c815c Distribution: ---
An example application is provided in the URL field. sha1sum: 56e3a30c0f361b1dc34342c418854ef2864f0e21 It depends on LANG=ja_JP.UTF-8.
In this application, the WMV video plays without audio. It might play a few samples incoherently for a split second, then there is no audio. (The MPEG-1 video has no audio track. Though I think this bug may not occur on mpeg videos.) If necessary I can find and link another example application where the thread also hangs.
MR with regression: https://gitlab.winehq.org/wine/wine/-/merge_requests/6973
Reverting both e6b8e9ee209 ("quartz/dsoundrender: Use send_sample_data() to fill the buffer with silence at EOS.") and 971a05f10fa ("quartz/dsoundrender: Queue samples and render them on a separate thread.") avoids the bug. (Only reverting e6b8e9ee209 does not help)
The issue doesn't occur with https://gitlab.winehq.org/wine/wine/-/merge_requests/6849 applied on 9.21 (but in some other applications the audio track starts too early and is desynchronized from the video, which didn't occur in the (modified to fix other issues) github/ValveSoftware/wine/bleeding-edge branch).