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

Author Topic: Error looping wavs.  (Read 4223 times)

0 Members and 1 Guest are viewing this topic.

nitram_cero

  • Full Member
  • ***
  • Posts: 166
    • View Profile
Error looping wavs.
« 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

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Error looping wavs.
« Reply #1 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.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

nitram_cero

  • Full Member
  • ***
  • Posts: 166
    • View Profile
Error looping wavs.
« Reply #2 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:

 

anything