Unhandled exception at 0x0F26DEF8 (msvcr110.dll) in sfmoDemo.exe: 0xC0000005: Access violation reading location 0x00297000.
Bear in mind this holds true for SFML 2.1 as it might change in the future versions of SFMLUnless MP3 suddenly gets a different licensing model, this is not likely to happen. The restriction is not a result of the underlying sound library, as such it won't change if libsndfile is replaced.
I was referring to Ixrec's post, I see only vorbis files supported, am I wrong?Bear in mind this holds true for SFML 2.1 as it might change in the future versions of SFMLUnless MP3 suddenly gets a different licensing model, this is not likely to happen. The restriction is not a result of the underlying sound library, as such it won't change if libsndfile is replaced.
The list of supported formats is clearly mentioned in the documentation. Please read it.What I don't understand is you added vorbis as dependency, can it support all the aforementioned formats or you're still working on it?
Future versions won't support MP3, but will provide an easy way to add it with a plugin.
we'll support WAV, OGG/Vorbis and FLAC. This new system will also make it very easy to write extensions to handle other formats. In the end, people will probably be able to use plugins written by the community to extend the set of formats (including MP3, if they can handle the license).So I was right, the supported formats will change in the next releases. I phrased everything wrong but what I meant was "it's likely the supported formats will change in the future, but mp3 won't be part of the changes" that's why I linked the git branch (https://github.com/SFML/SFML/tree/feature/no_libsndfile).
Failed to open sound file "mp3.mp3" (File contains data in an unknown format.)