SFML community forums
Help => Audio => Topic started by: riddle323 on January 24, 2012, 08:29:28 am
-
Hey everyone,
So I'm using SFML 2.0 and I'm having trouble loading and playing music files. Sounds work just fine however whenever I'm trying to load a music file (a .ogg for example) it seems to always give me this error:
Failed to open sound file "resources/orchestral.ogg" (Supported file format but file is malformed.)
I'm trying with the sound example using the latest version of SFML 2.0.
Has anyone else ran into this problem?
-
What's your OS?
-
Windows 7 64 bit. I thought maybe the file was corrupted or something but it runs just fine in VLC. I tried some other .ogg files and the same thing happened.
-
Do you use the openal32.dll file which is provided by SFML?
-
I am yeah.
I tried a few things like re-copy over all of the .lib, .h and .dll files from extlibs but now I think I've just made it worse. I'm getting a "The application was unable to start correctly (0xc000007b). Click OK to close the application". (I'm using Visual Studio 2010 btw).
Not really sure what to do about this. I feel like I just made a really stupid mistake on my end though.
-
Delete everything related to SFML and restart from zero ;)
-
I was afraid you were going to say that lol. I'll do that and see if that fixes it. Thanks!
-
I've got the same error 0xc000007b
-
Ah... I've copied the 64bit openal.dll over to my projectfile. That didn't work. So i tried with the 32bit files... That did work.