diff --git a/doc/notes/3.4.0.md b/doc/notes/3.4.0.md index d75934af72..4aeb17bc87 100644 --- a/doc/notes/3.4.0.md +++ b/doc/notes/3.4.0.md @@ -7,6 +7,8 @@ This build includes the following changes: #### Bindings - Added [SDL 3](https://libsdl.org/) bindings. +- OpenAL Soft: Updated to 1.24.2 (up from 1.24.1) + * Added `AL_SOFT_bformat_hoa` extension. LWJGL bindings no longer include API documentation in javadoc form. What remains: diff --git a/modules/lwjgl/openal/src/generated/java/org/lwjgl/openal/ALCapabilities.java b/modules/lwjgl/openal/src/generated/java/org/lwjgl/openal/ALCapabilities.java index 0d4cd699eb..31067bce37 100644 --- a/modules/lwjgl/openal/src/generated/java/org/lwjgl/openal/ALCapabilities.java +++ b/modules/lwjgl/openal/src/generated/java/org/lwjgl/openal/ALCapabilities.java @@ -395,6 +395,8 @@ public final class ALCapabilities { public final boolean AL_LOKI_WAVE_format; /** When true, {@code SOFT_bformat_ex} is supported. */ public final boolean AL_SOFT_bformat_ex; + /** When true, {@code SOFT_bformat_hoa} is supported. */ + public final boolean AL_SOFT_bformat_hoa; /** When true, {@code SOFT_block_alignment} is supported. */ public final boolean AL_SOFT_block_alignment; /** When true, {@code SOFT_buffer_length_query} is supported. */ @@ -470,6 +472,7 @@ public final class ALCapabilities { AL_LOKI_quadriphonic = ext.contains("AL_LOKI_quadriphonic"); AL_LOKI_WAVE_format = ext.contains("AL_LOKI_WAVE_format"); AL_SOFT_bformat_ex = ext.contains("AL_SOFT_bformat_ex"); + AL_SOFT_bformat_hoa = ext.contains("AL_SOFT_bformat_hoa"); AL_SOFT_block_alignment = ext.contains("AL_SOFT_block_alignment"); AL_SOFT_buffer_length_query = ext.contains("AL_SOFT_buffer_length_query"); AL_SOFT_buffer_samples = check_SOFT_buffer_samples(provider, caps, ext); diff --git a/modules/lwjgl/openal/src/generated/java/org/lwjgl/openal/SOFTBFormatHOA.java b/modules/lwjgl/openal/src/generated/java/org/lwjgl/openal/SOFTBFormatHOA.java new file mode 100644 index 0000000000..098b151f35 --- /dev/null +++ b/modules/lwjgl/openal/src/generated/java/org/lwjgl/openal/SOFTBFormatHOA.java @@ -0,0 +1,14 @@ +/* + * Copyright LWJGL. All rights reserved. + * License terms: https://www.lwjgl.org/license + * MACHINE GENERATED FILE, DO NOT EDIT + */ +package org.lwjgl.openal; + +public final class SOFTBFormatHOA { + + public static final int AL_UNPACK_AMBISONIC_ORDER_SOFT = 0x199D; + + private SOFTBFormatHOA() {} + +} \ No newline at end of file diff --git a/modules/lwjgl/openal/src/templates/kotlin/openal/templates/AL_SOFT_bformat_ex.kt b/modules/lwjgl/openal/src/templates/kotlin/openal/templates/AL_SOFT_bformat_ex.kt index 40c1fc30e0..a5e58ac8a7 100644 --- a/modules/lwjgl/openal/src/templates/kotlin/openal/templates/AL_SOFT_bformat_ex.kt +++ b/modules/lwjgl/openal/src/templates/kotlin/openal/templates/AL_SOFT_bformat_ex.kt @@ -7,6 +7,7 @@ package openal.templates import org.lwjgl.generator.* import openal.* +// TODO: change to uppercase F in LWJGL 4 val AL_SOFT_bformat_ex = "SOFTBformatEx".nativeClassAL("SOFT_bformat_ex") { IntConstant( "AMBISONIC_LAYOUT_SOFT"..0x1997, diff --git a/modules/lwjgl/openal/src/templates/kotlin/openal/templates/AL_SOFT_bformat_hoa.kt b/modules/lwjgl/openal/src/templates/kotlin/openal/templates/AL_SOFT_bformat_hoa.kt new file mode 100644 index 0000000000..0a26427f52 --- /dev/null +++ b/modules/lwjgl/openal/src/templates/kotlin/openal/templates/AL_SOFT_bformat_hoa.kt @@ -0,0 +1,12 @@ +/* + * Copyright LWJGL. All rights reserved. + * License terms: https://www.lwjgl.org/license + */ +package openal.templates + +import org.lwjgl.generator.* +import openal.* + +val AL_SOFT_bformat_hoa = "SOFTBFormatHOA".nativeClassAL("SOFT_bformat_hoa") { + IntConstant("UNPACK_AMBISONIC_ORDER_SOFT"..0x199D) +} \ No newline at end of file