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

Author Topic: New to CSFML, audio issues?  (Read 4361 times)

0 Members and 1 Guest are viewing this topic.


  • Newbie
  • *
  • Posts: 7
    • View Profile
New to CSFML, audio issues?
« on: July 20, 2016, 05:57:16 am »
So, I've just setup CSFML and I've used this sample code from the documentation. However, after a while of running the program it eventually crashes. I've targeted this down to the audio section of the example code and I'm not sure what's wrong with it, especially because it's example code. Here is the source: http://pastebin.com/nQHcNDLi. Also, at the beginning of the program it prints this message: AL lib: (EE) MMDevApiMsgProc: Unexpected message: 49425; this is weird though because it works for a while despite this. Also while I'm here this is probably a more C(Pretty new) is there a better way to phrase this:
            sfVector2f vec = {-0.25f, 0};
            sfSprite_move(sprite, vec);
More inline I mean. If you could help me with these that would be great, thanks :).


  • SFML Team
  • Hero Member
  • *****
  • Posts: 10607
    • View Profile
    • development blog
    • Email
AW: New to CSFML, audio issues?
« Reply #1 on: July 20, 2016, 12:01:35 pm »
You don't seem to be the only one who ran into that issue, see http://en.sfml-dev.org/forums/index.php?topic=20327.0

Just to make sure, are you using the OpenAL DLL that came with SFML?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
Dev Blog: https://duerrenberger.dev/blog/


  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: New to CSFML, audio issues?
« Reply #2 on: July 20, 2016, 06:56:47 pm »
Yes, I am using openal32.dll which came directly from the download page on the site.