SFML community forums

Help => Audio => Topic started by: Imbue on November 07, 2009, 12:38:04 am

Title: SFML 2 Won't play OGG files
Post by: Imbue on November 07, 2009, 12:38:04 am
I just upgraded to SFML 2 today.

I can't get my old music ogg files to play at all. It doesn't matter if they are loaded from memory or file. SFML puts "Failed to read sound file from memory (Supported file format but file is malformed.)" into the std error stream.

Is this a known issue? Like I said, these files played great in SFML 1.5 (And the svn version).
Title: SFML 2 Won't play OGG files
Post by: Imbue on November 07, 2009, 01:04:14 am
OK, the sample program "sound" works fine. But if I copy the .ogg file over to my game, my game can't play it.

I'll figure this out some how.
Title: SFML 2 Won't play OGG files
Post by: Tank on November 07, 2009, 01:11:20 am
Do you use the updated libsndfile DLL?
Title: SFML 2 Won't play OGG files
Post by: Imbue on November 07, 2009, 01:13:56 am
:oops: Thanks. That was it.

Sorry for bothering you all.
Title: SFML 2 Won't play OGG files
Post by: Tank on November 07, 2009, 02:16:08 pm
There's definitely an "UPGRADING" file missing in the repository. ;)
Title: SFML 2 Won't play OGG files
Post by: Laurent on November 07, 2009, 03:33:07 pm
Quote
There's definitely an "UPGRADING" file missing in the repository

There's definitely a documentation and tutorials missing :lol: