SFML community forums

Help => Audio => Topic started by: nitram_cero on June 12, 2009, 10:27:31 am

Title: Error looping wavs.
Post by: nitram_cero on June 12, 2009, 10:27:31 am
When I try to loop a sf::Sound from a Wav file, it doesn't. But when I do it with an Ogg file, it works!

You can try them for yourself.
Both were exported from the same sound data using Audacity.
http://sharebee.com/df99e078
Title: Error looping wavs.
Post by: Nexus on June 12, 2009, 03:38:01 pm
At me, it is looping.

Are you aware that of your 5 seconds audio, there is about 4 seconds silence? But after that I hear steps again. The loop is working correctly.
Title: Error looping wavs.
Post by: nitram_cero on June 13, 2009, 09:45:56 am
Wasn't aware of that  :?
Thanks for pointing it out

Weird... I saved them from the exact input (unselected!). Maybe audacity padded the wav for some bizarre reason.

Thanks and sorry  :oops: