LAGonauta / MetaAudio

GoldSrc engine plugin for 3D sound
GNU General Public License v2.0
101 stars 13 forks source link

out of memory #4

Closed arnalll closed 5 years ago

arnalll commented 5 years ago

Hi, first of all i want to thank you for your work. with the last release i cant run Day of Defeat / error message is related to "out of memory". I have tested with a local compiled audio.dll and metahook but the result was the same.

thanks in advance

LAGonauta commented 5 years ago

I will take a look, might be related to the new self-caching.

LAGonauta commented 5 years ago

@arnalll Does it always happen? How can I reproduce? Are you using OpenAL Soft? Creative X-Fi? A offline game is working here.

arnalll commented 5 years ago

the exact error message is "OpenAL plugin error // unable to load. Rason: Failed to create AuxiliaryEffectSlot: Out of memory" the game just try to launch but crashes quite instantly after your message i though maybe it was related to all new sounds i have put in the game and so i tested with regular sounds but the error still is the same.

SO basicaly with last release it happens all the time/ works all the time with the previous release of your plugin i ve also tried without any other mod like metamod/amxmodx or even bots

i am using OpenAL/ for game related stuff it is steam up to date both half-life/ dod (last update is from few weeks).

tested also on an old dod ( steam beta 3.1) release the error is the same

LAGonauta commented 5 years ago

Thanks, this error message was really helpful. This is happening because the OpenAL driver that you are currently using does not support two effect slot at the same time (new smooth transition between effects).

I managed to reproduce by using the "Software OpenAL" (aka "wrap_oal.dll") driver distributed by Creative. What driver are you using? Rapture3D? OpenAL Soft?

If you put the OpenAL32.dll (OpenAL Soft driver) file from the release package in the same folder as your metahook.exe the error should be fixed.

In the mean time I will decide if I will support smooth transition with limited drivers or not. In case you want to continue using your current OpenAL driver instead of OpenAL Soft, can you please elaborate why so?

arnalll commented 5 years ago

thank you! Solved. i have no itention to use OpenAL instead of the soft one!

have a nice day

LAGonauta commented 5 years ago

Good to know :)