Using setPlayingOffset() to seek through a short song (1 min) works with no noticeable latency, however when I try a longer (5.5 min) song it lags for about 2 seconds before resuming playback. Should this be happening? Can it be fixed, should I use sf::Sound, or what?
Not sure if it helps much, but here's the code where I call the function:
...
sf::Time t = sf::seconds(music.getDuration().asSeconds() * barPerc);
music.setPlayingOffset(t);
...
Please do tell if you need anything else!