lichess.org
Donate

Lichess kills sound on computer

I also tried disabling sound enhancements on Win7 64 bit with latest Firefox and I got same results as Baluk. Sound lasted a bit longer and then disappeared. This issue is only with Lichess. Other internet chess sites I play on do not have this issue. This is a shame since Lichess is my favorite site, but sadly I may have to switch if this cannot be resolved. If other sites can have chess sounds without this problem, surely there is a way that Lichess can be fixed.
Thibault I will look into joining your IRC, though honestly I'm not going to be able to interact in real-time much, and nor am I that much of an expert on Windows internals.

From my investigations, there is a C++ fxn called PlaySound which (historically at least, from Googling) can be called in such a way as to cause memory leaks. It seems it can also be called in such a way as to release the memory it had grabbed.

http://msdn.microsoft.com/en-gb/library/windows/desktop/dd743680%28v=vs.85%29.aspx

Possibly you are using some library that calls this function when it produces sound on Windows, and maybe you can figure out other ways to call it, or use some other library or other function for sound.

Google "PlaySound memory leak" and "audiodg memory leak" to see the info I found.

But if it was this causing the problem, it should have been fixed by a patch years ago, so this is just the best guess.

If you need someone to try stuff out on Win 7 for you, I can do that.
Can you give me a pointer to how you generate sounds?

I'll take a look for alternative solutions when I have a bit of time.
Thank you Thibault, I have sound issues too. Esp on Firefox but also on Chrome. Comes and goes, sometimes it just sounds raspy, as though the laptop has flu :)
Anybody can explain how it works? Hotfix problem because of captha..

thank u
Hotfix probably won't work if you apply regular Windows updates since the Hotfix is already included in the updates. At least that is what I found on my computer.

This topic has been archived and can no longer be replied to.