Skip to content

Commit

Permalink
feat(openal) update OpenAL Soft to 1.24.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Spasi committed Jan 15, 2025
1 parent ca21c45 commit 600d246
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/notes/3.4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
@@ -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() {}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
@@ -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)
}

0 comments on commit 600d246

Please sign in to comment.