SFML community forums

Help => Audio => Topic started by: SpartanJ on September 22, 2008, 03:05:42 am

Title: Music Loop not working on last SVN revision
Post by: SpartanJ 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!
Title: Music Loop not working on last SVN revision
Post by: Laurent 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 ;)
Title: Music Loop not working on last SVN revision
Post by: SpartanJ 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!
Title: Music Loop not working on last SVN revision
Post by: Laurent on September 24, 2008, 08:07:06 am
Ok, I'll try to take some time this evening to fully test and fix it.
Title: Music Loop not working on last SVN revision
Post by: Laurent on September 24, 2008, 08:45:53 pm
Done, it should work 100% now ;)
Title: Music Loop not working on last SVN revision
Post by: SpartanJ on September 25, 2008, 12:32:53 am
Thank's a lot for your help! :D