Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML 2 Won't play OGG files  (Read 5741 times)

0 Members and 1 Guest are viewing this topic.

Imbue

  • Full Member
  • ***
  • Posts: 104
    • View Profile
SFML 2 Won't play OGG files
« 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).

Imbue

  • Full Member
  • ***
  • Posts: 104
    • View Profile
SFML 2 Won't play OGG files
« Reply #1 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.

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
SFML 2 Won't play OGG files
« Reply #2 on: November 07, 2009, 01:11:20 am »
Do you use the updated libsndfile DLL?

Imbue

  • Full Member
  • ***
  • Posts: 104
    • View Profile
SFML 2 Won't play OGG files
« Reply #3 on: November 07, 2009, 01:13:56 am »
:oops: Thanks. That was it.

Sorry for bothering you all.

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
SFML 2 Won't play OGG files
« Reply #4 on: November 07, 2009, 02:16:08 pm »
There's definitely an "UPGRADING" file missing in the repository. ;)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
SFML 2 Won't play OGG files
« Reply #5 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:
Laurent Gomila - SFML developer