1
Audio / Failed to open the audio device
« on: December 11, 2013, 12:29:37 pm »
Here is my code:
and whenever I create my music file I get an error in the console window that says
"Failed to open the audio device"
I've added the audio to the linker.
Graphics and stuff work fine. I just started on music today and now I can't figure out the problem.
Help me please!
#include <SFML/Audio.hpp>
int main () {
sf::Music Music;
return 0;
}
I use Windows 8.1, sfml 2.1. Also i tried it on Windows 7. int main () {
sf::Music Music;
return 0;
}
and whenever I create my music file I get an error in the console window that says
"Failed to open the audio device"
I've added the audio to the linker.
Graphics and stuff work fine. I just started on music today and now I can't figure out the problem.
Help me please!