SFML community forums

Help => Audio => Topic started by: Baptoast on January 17, 2023, 04:44:18 am

Title: Errors SoundBuffer (OpenAL)
Post by: Baptoast 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)
Title: Re: Errors SoundBuffer (OpenAL)
Post by: eXpl0it3r on January 17, 2023, 08:11:43 am
Where did you get the openal32.dll from?
Title: Re: Errors SoundBuffer (OpenAL)
Post by: Baptoast 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/
Title: Re: Errors SoundBuffer (OpenAL)
Post by: eXpl0it3r on January 17, 2023, 05:51:54 pm
Do you have a minimal example that reproduces the problem?
Title: Re: Errors SoundBuffer (OpenAL)
Post by: Baptoast 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.