http://bugs.winehq.org/show_bug.cgi?id=21277
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t
--- Comment #3 from Jörg Höhle hoehle@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.