Skip to content

Commit 5f59cb6

Browse files
authored
Add ALC_EXT_capture to present OpenAL extensions (#25837)
The extension is already implemented, however, alcIsExtensionPresent wasn't reporting it as present.
1 parent 2cf9c42 commit 5f59cb6

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/lib/libopenal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var LibraryOpenAL = {
2525

2626
ALC_EXTENSIONS: {
2727
// TODO: 'ALC_EXT_EFX': true,
28+
'ALC_EXT_capture': true,
2829
'ALC_SOFT_pause_device': true,
2930
'ALC_SOFT_HRTF': true
3031
},

test/codesize/test_codesize_hello_dylink_all.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"a.out.js": 245765,
2+
"a.out.js": 245771,
33
"a.out.nodebug.wasm": 573904,
4-
"total": 819669,
4+
"total": 819675,
55
"sent": [
66
"IMG_Init",
77
"IMG_Load",

test/openal/test_openal_extensions.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@
1717
#include <AL/alc.h>
1818
#include <AL/alext.h>
1919

20-
#define NUM_ALC_EXTENSIONS 2
20+
#define NUM_ALC_EXTENSIONS 3
2121
static const ALCchar *alc_extensions[NUM_ALC_EXTENSIONS] = {
22+
"ALC_EXT_capture",
2223
"ALC_SOFT_pause_device",
2324
"ALC_SOFT_HRTF",
2425
};

0 commit comments

Comments
 (0)