Skip to content

Commit 61e0078

Browse files
committed
Add ALC_EXT_capture to present OpenAL extensions
The extension is already implemented, however, alcIsExtensionPresent wasn't reporting it as present.
1 parent 2cf9c42 commit 61e0078

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
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/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)