[Bug 21277] python's test_winsound test fails

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Apr 27 11:13:48 CDT 2010


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





--- Comment #4 from Austin English <austinenglish at gmail.com>  2010-04-27 11:13:47 ---
(In reply to comment #3)
> 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

Will test this afternoon.

> 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.

It shouldn't be too hard to find (or make) a LGPL .wav file that would fit the
bill, and include it in wine itself...

-- 
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