aboutsummaryrefslogtreecommitdiffstats
path: root/router/router.h
diff options
context:
space:
mode:
Diffstat (limited to 'router/router.h')
-rw-r--r--router/router.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/router/router.h b/router/router.h
index 0749ffad..ee885d85 100644
--- a/router/router.h
+++ b/router/router.h
@@ -9,6 +9,7 @@
#include "AL/alc.h"
#include "AL/al.h"
+#include "AL/alext.h"
#include "atomic.h"
#include "rwlock.h"
#include "threads.h"
@@ -54,6 +55,9 @@ typedef struct DriverIface {
LPALCCAPTURESTOP alcCaptureStop;
LPALCCAPTURESAMPLES alcCaptureSamples;
+ PFNALCSETTHREADCONTEXTPROC alcSetThreadContext;
+ PFNALCGETTHREADCONTEXTPROC alcGetThreadContext;
+
LPALENABLE alEnable;
LPALDISABLE alDisable;
LPALISENABLED alIsEnabled;
@@ -132,6 +136,7 @@ typedef struct DriverIface {
extern DriverIface *DriverList;
extern int DriverListSize;
+extern altss_t ThreadCtxDriver;
extern ATOMIC(DriverIface*) CurrentCtxDriver;