SFML community forums

Help => Audio => Topic started by: mjaoo on July 20, 2009, 01:27:22 am

Title: Cant load any music-files
Post by: mjaoo on July 20, 2009, 01:27:22 am
Code: [Select]
   sf::Music Music;
    if (!Music.OpenFromFile("X.mp3")){}
    Music.Play();



My console says:  Failed to open "X.mp3" for reading
Failed to play audio stream : sound parameters have not been initaialized <call initialize first>


This was working on XP but not on my vistacomp

>.< Ty for any help.
Title: Cant load any music-files
Post by: klusark on July 20, 2009, 04:12:44 am
Are you sure that the sound file is in the same folder as the executible?
Title: Cant load any music-files
Post by: Laurent on July 20, 2009, 07:42:55 am
mp3 is not supported.
Title: Cant load any music-files
Post by: mjaoo on July 20, 2009, 09:10:50 am
*feeling dumb* ty haha!