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

Author Topic: Errors SoundBuffer (OpenAL)  (Read 136 times)

0 Members and 1 Guest are viewing this topic.

Baptoast

  • Newbie
  • *
  • Posts: 3
    • View Profile
Errors SoundBuffer (OpenAL)
« on: January 17, 2023, 04:44:18 am »
Hi, recently i've got a little problem with my Soundbuffer, every minutes I got some errors that you can see in the spoilers :

(click to show/hide)


Except the spam that freeze my game at the moment, all work perfectly (all my sounds are played).
I'm kinda worried because even if I just instantiate a variable SoundBuffer and didn't do anything with it (don't load any sound), every minute well it spam the error.

If I delete the openal32.dll from my files, I can't compile anymore, so it seem to use the right one (smfl one).

(IDE : Microsoft Visual Studio, OS : Windows 11)
« Last Edit: January 17, 2023, 04:52:12 am by Baptoast »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10390
    • View Profile
    • development blog
    • Email
Re: Errors SoundBuffer (OpenAL)
« Reply #1 on: January 17, 2023, 08:11:43 am »
Where did you get the openal32.dll from?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://dev.my-gate.net/

Baptoast

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Errors SoundBuffer (OpenAL)
« Reply #2 on: January 17, 2023, 02:00:31 pm »
I got it from the bin file in the "Visual C++ 15 (2017) - 64-bit" version here : https://www.sfml-dev.org/download/sfml/2.5.1/

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10390
    • View Profile
    • development blog
    • Email
Re: Errors SoundBuffer (OpenAL)
« Reply #3 on: January 17, 2023, 05:51:54 pm »
Do you have a minimal example that reproduces the problem?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://dev.my-gate.net/

Baptoast

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Errors SoundBuffer (OpenAL)
« Reply #4 on: January 17, 2023, 10:53:49 pm »
I didn't quite understand what just happened but my problem is gone :o

I have just recompile in release version, and when I came back in debug mode, well there was no problem anymore  :-[

Maybe it's also because I have do a little cleaning in my pc, I have uninstalled some software that takes up space.

If I got the problem one more, I'll try to isolate it and put an example.
« Last Edit: January 17, 2023, 10:57:04 pm by Baptoast »