[Bug 21277] python's test_winsound test fails

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 27 03:29:38 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=21277


Jörg Höhle <hoehle at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hoehle at users.sourceforge.ne
                   |                            |t




--- Comment #3 from Jörg Höhle <hoehle at users.sourceforge.net>  2010-04-27 03:29:37 ---
My "make MCI_SOUND work" patch contains the following comment:

Wine produces no sound unless win.ini or the registry defines
wave files, e.g. it contains something like
[Sounds]
Default=/usr/share/sounds/question.wav
SystemExclamation=/usr/share/sounds/error.wav

You may want to check whether the test still fails with such a definition.

IIRC, Wine's playsound return code will not indicate success unless a sound was
played.
On MS, I've seen machines equipped with sound return success from the MCI_Sound
command yet not sound was heard.

My patch solely correctly forwards MCI_SOUND to playsound. It does not provide
sound files.  I've verified that with the above definition, Wine emits the
sound indicated by the SND_ALIAS flag, which my patch uses.

Sadly, I found no single /usr/.... *.wav file that would be common to all Suse
or even Ubuntu systems I tried: Wine cannot hard-code some default path.

That should be added to the documentation.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.


More information about the wine-bugs mailing list