LWJGL / lwjgl3

LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
https://www.lwjgl.org
BSD 3-Clause "New" or "Revised" License
4.67k stars 628 forks source link

OpenAL class `SOFTReopenDevice` not found! #863

Closed Brahvim closed 1 year ago

Brahvim commented 1 year ago

Module

OpenAL

Bug description

In nearly every recent release of LWJGL, I do not find the SOFTReopenDevice class. Sure, I could compile it from the source and use it that way (I tried adding the class back in myself, but it seems that I failed...), but it is not included by the download customizer, no matter what I change. Has it been removed? If so, why?

I do not feel it has been removed. Since it is also documented, I expect to find it in the compiled code I get.

...Is there a workaround to this issue?

tlf30 commented 1 year ago

SOFTReopenDevice is part of the snapshots for 3.3.2. You will need to use a recent snapshot to have access to the class. I checked going back to May 24th of 2022 and it was present in the snapshot, and is present in the latest snapshot. I am not sure what versions you have checked, but the javadocs you linked to are for the latest snapshot.

Brahvim commented 1 year ago

Apologies for removing the part specifying LWJGL versions. The thing is, that the OpenAL extension is available in perhaps no version of LWJGL. Not even LWJGL 2 subversions!

I checked the most recent and the first stable release, and found no signs of the SOFTReopenDevice class in the JAR.

tlf30 commented 1 year ago

As stated it is available in the snapshot. I did not see it in the most recent stable release.