Library to allow one to use any OpenAL library in Minecraft.
It also has some workarounds for the missing AL_EXT_source_distance_model
extension on Creative's OpenAL when using hardware OpenAL on a X-Fi.
Add -Dorg.lwjgl.openal.libname="{path}/openal-shortcircuit.dll"
to your Minecraft Java launcher setting. For example: -Dorg.lwjgl.openal.libname="c:/users/bob/downloads/openal-shortcircuit.dll
.
One can configure the library through environment variables.
SC_OAL_LIBRARY_DEVICE_NAME
, sets the device to be used, such asOpenAL Soft
orSB X-Fi Audio [0001]
. Also supports full enumerated names if supported by the driver.SC_OAL_LIBRARY_BINARY_PATH
, sets the OpenAL binary/driver to use, such asC:\Windows\System32\OpenAL32.dll
orC:\Windows\System32\soft_oal.dll
.SC_FORCE_XRAM
, allows the use of X-RAM when available. Disabled by default, Minecraft seems to load buffers on demand instead of loading all audio assets in one go.
- Install MSYS2 and build packages such as
cmake
andg++
- git clone
- mkdir build && cd build && cmake -G "MSYS Makefiles" .. && make