LWJGL Forum

Programming => OpenAL => Topic started by: timb4000 on November 15, 2005, 21:43:39

Title: AL10.alGetListenerf( AL10.AL_GAIN ) causing crash
Post by: timb4000 on November 15, 2005, 21:43:39
I don't know if this is the place for bug reports, but I can't find a general bug reporting area.  But here's the bug I'm finding:


AL10.alGetListenerf( AL10.AL_GAIN ) causing
EXCEPTION_ACCESS_VIOLATION


I recently upgraded from v.94 to v.98 and this bug seems to have crept into the since then.

This does not seem to be an issue of an uncreated openAL, and the library loaded is definately lwjglaudio.dll.  OpenAL is created and the tests sound fine.  (Those mysterious footsteps - terrifying!)

Also, I can SET the master gain with no problem, just GETting it causes the problem.

I can post the big-old HotSpot report, or the code, if anyone thinks it will be useful.
Title: AL10.alGetListenerf( AL10.AL_GAIN ) causing crash
Post by: elias on November 16, 2005, 09:20:22
Thank you for reporting this. It is a LWJGL bug (an error in the declaration of alGetListenerf and alGetListeneri). I've fixed it in CVS, but in the mean time you should use alGetListenerfv.

- elias