SFML community forums

Help => Audio => Topic started by: guvidu on February 09, 2008, 10:27:44 pm

Title: sf::Music on windows Vista plays in a loop
Post by: guvidu on February 09, 2008, 10:27:44 pm
Hi there!
I have a big problem! For some reason on windows vista my music file plays in a loop

here is my code

sf::Music music;
music.Open("Data/Sound/Music3.ogg");
music.SetLoop(false);
music.Play();

the same code played fine when i was on an xp machine.

Can you guys point me in some direction to fix the problem?
Thanks!
Title: sf::Music on windows Vista plays in a loop
Post by: Laurent on February 10, 2008, 07:15:46 am
Sorry, I have no idea. I can't even test it, as I'm using Windows XP.
Title: sf::Music on windows Vista plays in a loop
Post by: evilertoaster on February 11, 2008, 08:32:47 am
does the sound file itself play on both systems?
are you running the program as administrator on vista?