http://bugs.winehq.org/show_bug.cgi?id=30685
Bug #: 30685 Summary: Billy can't open file: Error5 Function CheckFile Product: Wine Version: 1.5.4 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: xerox_xerox2000@yahoo.co.uk Classification: Unclassified
Created attachment 40183 --> http://bugs.winehq.org/attachment.cgi?id=40183 +relay,+file,+seh,+tid log
Billy is a fast small mp3 player. Trying to open any mp3-file gives an error:
"Error5 Function CheckFile"
There's no terminal output; i'll attach a debuglog instead.
http://bugs.winehq.org/show_bug.cgi?id=30685
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.sheepfriends.com | |/files/billy104k.zip
http://bugs.winehq.org/show_bug.cgi?id=30685
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com 2012-05-16 03:46:46 CDT --- Created attachment 40192 --> http://bugs.winehq.org/attachment.cgi?id=40192 dsound patch for DirectSoundDevice_CreateSoundBuffer
Billy wants to create a 32-bit WAVE_FORMAT_IEEE_FLOAT DirectSound buffer, but Billy specifies a WAVEFORMATEX structure in the DSBUFFERDESC structure passed to DirectSoundDevice_CreateSoundBuffer, which it rejects:
0009:warn:dsound:DirectSoundDevice_CreateSoundBuffer wBitsPerSample=32 needs a WAVEFORMATEXTENSIBLE
The attached patch allows Billy to play back an MP3 file, although I do not know how correct it is.
http://bugs.winehq.org/show_bug.cgi?id=30685
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-dsound
--- Comment #2 from Andrew Nguyen arethusa26@gmail.com 2012-05-16 03:47:20 CDT --- Changing component.
http://bugs.winehq.org/show_bug.cgi?id=30685
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2012-05-16 17:31:42 CDT ---
The attached patch allows Billy to play back an MP3 file, although I do not know how correct it is.
Thanks very much Andrew for analysis and patch. I can confirm the patch solves the bug for me too.
http://bugs.winehq.org/show_bug.cgi?id=30685
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=30685
--- Comment #4 from Andrew Eikum aeikum@codeweavers.com 2012-05-22 09:04:06 CDT --- Created attachment 40269 --> http://bugs.winehq.org/attachment.cgi?id=40269 Mark failing tests as broken()
Andrew: That patch seems fine to me. Here's the test change I'd suggest to go along with it. I tested on Win 7 that dsound supports (returns DS_OK) this kind of call.
http://bugs.winehq.org/show_bug.cgi?id=30685
--- Comment #5 from Andrew Eikum aeikum@codeweavers.com 2012-09-05 09:11:44 CDT --- Andrew, do you intend to submit your fix for this bug? If you do, please include my test change. Otherwise I can do it.
http://bugs.winehq.org/show_bug.cgi?id=30685
--- Comment #6 from Andrew Eikum aeikum@codeweavers.com 2012-09-18 14:08:38 CDT --- I went ahead and submitted it, committed as b202b9f72dbdd3ff31ac732521d705c126feed6d. Can someone retest to confirm it's fixed?
http://bugs.winehq.org/show_bug.cgi?id=30685
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b202b9f72dbdd3ff31ac732521d | |705c126feed6d Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Andrew Eikum aeikum@codeweavers.com 2012-12-13 09:17:11 CST --- This works now on my computer.
http://bugs.winehq.org/show_bug.cgi?id=30685
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2012-12-21 13:29:23 CST --- Closing bugs fixed in 1.5.20.