Hi,
I've recently been using the Audio subsystem of SFML in a separate project. It's been really easy to integrate and the code is super clean, highly appreciated
However I have a couple of questions...
First of all when I quit my app (not an SFML app by the way) the OpenAL context is destroyed before the streaming music I'm playing is stopped, so I get a number of OpenAL errors from the thread that's still running (until it aborts).
If I stop the stream manually before exiting, this is fine, but I was wondering is there was an automatic way to do this? (i.e. making sure any music streams are stopped before stopping openal)
Second of all, I see that the music streams are threaded, but in my code the sample playback isn't. However I read in another post in this forum that the entire audio system is threaded. Is that correct? I am I missing some SFML code that does this?
thanks!
Pierre