Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sf::Music on windows Vista plays in a loop  (Read 4392 times)

0 Members and 1 Guest are viewing this topic.

guvidu

  • Newbie
  • *
  • Posts: 4
    • View Profile
sf::Music on windows Vista plays in a loop
« 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!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
sf::Music on windows Vista plays in a loop
« Reply #1 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.
Laurent Gomila - SFML developer

evilertoaster

  • Newbie
  • *
  • Posts: 9
    • View Profile
sf::Music on windows Vista plays in a loop
« Reply #2 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?

 

anything