I get the error "Failed to open Vorbis file for reading" whenever I try to play very short (3-4 seconds) .OGG files. I can play them without issue in other software, and SFML is able to play longer tracks from the same set (encoded in the same batch as the shorter files, with the same software and settings, which is why I think it's to do with the length).
I'm using SFML revision
7b4610b55b from GitHub. The specific files I'm having a problem with are attached if anyone wants to examine them (
lightstroke.ogg and
darkstroke.ogg), along with a slightly longer track (6 seconds) that
does work (
gameover.ogg).
Has anyone else noticed this problem, or have some ideas what might cause it? I don't really want to go with WAV, but if it's necessary....