Hi, recently i've got a little problem with my Soundbuffer, every minutes I got some errors that you can see in the spoilers :
An internal OpenAL call failed in SoundSource.cpp(45).
Expression:
alGenSources(1, &m_source)
Error description:
AL_OUT_OF_MEMORY
There is not enough memory left to execute the command.
An internal OpenAL call failed in SoundSource.cpp(46).
Expression:
alSourcei(m_source, AL_BUFFER, 0)
Error description:
AL_INVALID_NAME
A bad name (ID) has been specified.
An internal OpenAL call failed in SoundSource.cpp(68).
Expression:
alSourcef(m_source, AL_PITCH, pitch)
Error description:
AL_INVALID_NAME
A bad name (ID) has been specified.
An internal OpenAL call failed in SoundSource.cpp(75).
Expression:
alSourcef(m_source, AL_GAIN, volume * 0.01f)
Error description:
AL_INVALID_NAME
A bad name (ID) has been specified.
An internal OpenAL call failed in SoundSource.cpp(82).
Expression:
alSource3f(m_source, AL_POSITION, x, y, z)
Error description:
AL_INVALID_NAME
A bad name (ID) has been specified.
An internal OpenAL call failed in SoundSource.cpp(96).
Expression:
alSourcei(m_source, AL_SOURCE_RELATIVE, relative)
Error description:
AL_INVALID_NAME
A bad name (ID) has been specified.
An internal OpenAL call failed in SoundSource.cpp(103).
Expression:
alSourcef(m_source, AL_REFERENCE_DISTANCE, distance)
Error description:
AL_INVALID_NAME
A bad name (ID) has been specified.
An internal OpenAL call failed in SoundSource.cpp(110).
Expression:
alSourcef(m_source, AL_ROLLOFF_FACTOR, attenuation)
Error description:
AL_INVALID_NAME
A bad name (ID) has been specified.
An internal OpenAL call failed in Sound.cpp(111).
Expression:
alSourcei(m_source, AL_LOOPING, loop)
Error description:
AL_INVALID_NAME
A bad name (ID) has been specified.
etc etc etc...
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)