SFML community forums

Help => Audio => Topic started by: drpitch on June 03, 2009, 12:17:23 am

Title: SFML audio crashing on Vista
Post by: drpitch on June 03, 2009, 12:17:23 am
Hi,

I'm developing a project using SFML on Windows Xp and it works great. But the same project on Vista has random crashes. I think that audio library has something to do with it, because the application only crashes when in the console ouput there is a "Failed to open the audio device" message.

The weird thing is that just after crashing I run the application again and the application doesn't crash (and it doesn't show the "Failed to open the audio device" message). So, how it's possible that sometimes the library can open the audio device and sometimes it can't?????

Thanks!

Edit: I've fixed the crash. I was mixing static and dynamic linking (I ignored some linking warnings) and that was making my app to crash :roll: