SFML community forums

Help => Audio => Topic started by: jagoly on October 16, 2016, 10:59:53 am

Title: OpenAL errors after deleting last sf::SoundBuffer on linux
Post by: jagoly on October 16, 2016, 10:59:53 am
Hi. I've discovered what I think is a very minor bug in either SFML or OpenAL. It's fairly easy to reproduce on Linux:

> set sf::Listener transform (works)
> create and load sf::SoundBuffer
> create and play sf::Sound
> wait until status of sound changes to stopped
> delete sound and the sound buffer
> setting sf::Listener transforms now give errors

I've attached a minimal example I put together. You need to link to the debug build of SFML or you don't get the error messages.

edit: the errors I get look like this: http://hastebin.com/zihabeguvi.txt