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 631 forks source link

Maybe binding inprogext.h for OpenAL-soft too? #795

Closed Berstanio closed 1 year ago

Berstanio commented 1 year ago

Description

It would be great if https://github.com/kcat/openal-soft/blob/master/alc/inprogext.h could be binded to (at least I couldn't find the bindings). Even if they are marked as "in progress extensions", from my testing some are working and are more like "experimental". But I would also understand if they don't get added for the time they are considered "experimental".

Spasi commented 1 year ago

Hey @Berstanio,

I would prefer to avoid this unless there's a very good reason. Do you have an actual use for a specific experimental extension?

Berstanio commented 1 year ago

Hey,

I'm mainly interested in AL_STOP_SOURCES_ON_DISCONNECT_SOFT. https://github.com/kcat/openal-soft/issues/533#issuecomment-825909097 Currently, when a audio device disconnects on windows, all audio sources gets stopped. This is pretty inconvinient, as described in the thread I linked, since it is hard to restart all the sources.

Spasi commented 1 year ago

Hey @Berstanio,

Added AL_SOFTX_hold_on_disconnect with ab9d3c3eec9c286c83db7c7993a9902aafc4d225. You can try it with 3.3.2-snapshot+10 which was just released.