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

Author Topic: OpenAL errors after deleting last sf::SoundBuffer on linux  (Read 3119 times)

0 Members and 1 Guest are viewing this topic.

jagoly

  • Newbie
  • *
  • Posts: 4
    • View Profile
OpenAL errors after deleting last sf::SoundBuffer on linux
« 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
« Last Edit: October 16, 2016, 11:25:34 am by jagoly »