PlaySound

Posted by DanaLea73 on Tue 14 Jun 2011 10:40 PM — 4 posts, 17,769 views.

USA #0
I recently switched all my sounds from the built in (in the Trigger screen) to this format.
PlaySound (0, "sound.wav")

Btw, I'm on a mac, using wine, most recent wine, client, and snapsot..

Sometimes the sounds stop working. Then later, I'll log in again, and they work. Afraid I don't have more info, but I'll update as I get more specifics. Feel free to ignore for now.. until I can better isolate when and what and whatever.

Thanks.
USA Global Moderator #1
She means the latest snapshot of the Aardwolf MUSHclient Package, which means MUSHclient 4.75.
Australia Forum Administrator #2
Does this happen with the application (client) in the foreground? There is an option (off by default I think) to play sounds if the client is not active.

See this post for how to change that:

http://www.gammon.com.au/forum/?id=11150

You could also try going to the Wine icon on the menu bar, clicking Configuration, and going to the Audio tab. If sounds aren't working click "Test Sound" to see if this is maybe a Wine issue.
Australia Forum Administrator #3
DanaLea73 said:

Sometimes the sounds stop working. Then later, I'll log in again, and they work.


So just to clarify, the exact same files sometimes work and sometimes not? And if they stop working they stay stopped?


Quote:

Then later, I'll log in again, and they work.


You mean log out, or completely close the client? So perhaps if it is a memory or resource issue, closing the client and re-opening it frees those resources?