So last night I updated my game on Windows 7 from the SFML 2.0 RC version to the latest git snapshot. Most of it works but now music loading takes forever. Previously I wasn't even noticing the loading screen as it was so brief, but now it takes 10-15 seconds easily. That's unacceptable.
I'm using the
openFromFile(); method. As I understand, that doesn't load the whole thing into memory but streams it instead. But if I log each file I see they each take considerable time. It almost feels like they're all read into memory which is odd, as sf::Music wasn't supposed to do that. What further makes me think that is the case is that
longer files take longer to load, which shouldn't be the case with streaming ...
I could post code but I don't see how that helps, it's all very standard. The same code acts differently with different SFML builds.
My music files are OGG.
I'm using
this tutorial for building.
Any ideas? Has sf::Music openFromFile been recently twiddled with?