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

Author Topic: Music Loop not working on last SVN revision  (Read 24029 times)

0 Members and 1 Guest are viewing this topic.

SpartanJ

  • Newbie
  • *
  • Posts: 6
    • View Profile
Music Loop not working on last SVN revision
« on: September 22, 2008, 03:05:42 am »
I just want to inform this. The music keeps repeating the last buffers read instead of starting from the begginning.
Thanks for all!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Music Loop not working on last SVN revision
« Reply #1 on: September 23, 2008, 10:20:01 pm »
I made a fix but couldn't test, can you tell me if everything is ok now ?

Thanks for your help ;)
Laurent Gomila - SFML developer

SpartanJ

  • Newbie
  • *
  • Posts: 6
    • View Profile
Music Loop not working on last SVN revision
« Reply #2 on: September 24, 2008, 12:38:46 am »
Hi Laurent!
I saw the fix but that fix doesn't work properly (indeed i tested the same thing before posting).
The problem is that the last buffer repeats 2 times at the end of the stream and then start from the begginning. I tried to fix it but i couldn't for the moment.
The last buffer need to be reassigned with the new one, but i don't know how to do it, i think that is needed some sort of SetPlayingOffset and assigned to second 0. Bye!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Music Loop not working on last SVN revision
« Reply #3 on: September 24, 2008, 08:07:06 am »
Ok, I'll try to take some time this evening to fully test and fix it.
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Music Loop not working on last SVN revision
« Reply #4 on: September 24, 2008, 08:45:53 pm »
Done, it should work 100% now ;)
Laurent Gomila - SFML developer

SpartanJ

  • Newbie
  • *
  • Posts: 6
    • View Profile
Music Loop not working on last SVN revision
« Reply #5 on: September 25, 2008, 12:32:53 am »
Thank's a lot for your help! :D