When I'm calling Play() on a already playing or paused sound in SFML2 the sound restarts, instead of continuing like documented.
Some minimal code:
#include <SFML/Audio.hpp>
int main(int argc, char** argv) {
sf::SoundBuffer buffer;
buffer.LoadFromFile("sound.wav");
sf::Sound sound(buffer);
while(true) {
sound.Play();
sf::Sleep(0.01);
}
return 0;
}