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
.