[Bug 56350] New: Python programs fail to play sound
https://bugs.winehq.org/show_bug.cgi?id=56350 Bug ID: 56350 Summary: Python programs fail to play sound Product: Wine Version: 9.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: crypt32 Assignee: wine-bugs(a)winehq.org Reporter: galacticaledge(a)protonmail.com Distribution: --- Created attachment 76076 --> https://bugs.winehq.org/attachment.cgi?id=76076 Most of the errors that occur when trying to play a sound seems to be related to the crypt API Python programs fail to play any sound due to errors in the crypt library. If anyone wants to conveniently test and debug this issue, I wrote a simply Python program for this. Simply run the program, open a txt file (which the program will convert each line into speech when the "Next Line" button is played), and watch it fail to play sound and cause the "Next Line" button to stop working until a new file is selected. I have also confirmed this is a Wine issue since the program works perfectly fine on a Windows install. https://drive.google.com/file/d/1RjB0n5tAP1-7xPUf8Zjk_QzIyya7vZ6e/view?usp=s... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56350 --- Comment #1 from galacticaledge(a)protonmail.com --- I accidentally uploaded the wrong file, so here is the new link: https://drive.google.com/file/d/1kopwyGzXI_YLl9qxWOlXaGPpSFh_lNe-/view?usp=s... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=56350 galacticaledge(a)protonmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Version|9.2 |9.3 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=56350 Damjan Jovanovic <damjan.jov(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 CC| |damjan.jov(a)gmail.com --- Comment #2 from Damjan Jovanovic <damjan.jov(a)gmail.com> --- Confirming with Wine 10.14. Is the source code for this application available? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=56350 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x(a)gmail.com --- Comment #3 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Created attachment 79289 --> http://bugs.winehq.org/attachment.cgi?id=79289 wav file generated by the python program I doubt this is a crypt problem. The FIXME's don't necesseraly mean it's a bug. The program appears to generate a soundfile (line.wav) from the text and does PlaySoundW (from winmm) to play it which fails. I attached the wav file; it plays correctly when I open it in Linux native mpv for example, and I can hear the text ("Hello"). Simple test with PlaySoundW in wine fails to play it. I don't know how wav file should look like, but it seems there's some header(RIFF?) in wine's testwavs. The line.wav doesn't have this, but somehow Linux native mpv understands how to play this. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=56350 --- Comment #4 from Nikolay Sivov <bunglehead(a)gmail.com> --- This looks like a number of mpeg audio frames (leading bytes fff3 84c4). Was that generated on Windows? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=56350 --- Comment #5 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- (In reply to Nikolay Sivov from comment #4)
This looks like a number of mpeg audio frames (leading bytes fff3 84c4). Was that generated on Windows?
No, it's generated on wine using the program. You can find it in "Text to Speech Player/_internal/tts/line.wav" if you let the program run and choose some textfile to recognize the text from. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=56350 --- Comment #6 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Hmm, I just tried to run the program on windows in a virtual machine, but I don't get the sound playing either, it behaves just like in wine. @OP: Are you sure it runs in Windows as expected? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla