aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
Diffstat (limited to 'alc')
-rw-r--r--alc/alc.cpp3
-rw-r--r--alc/context.cpp1
-rw-r--r--alc/inprogext.h9
3 files changed, 13 insertions, 0 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index 9305bf3d..f6385e27 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -452,6 +452,9 @@ const struct {
DECL(alAuxiliaryEffectSlotPlayvSOFT),
DECL(alAuxiliaryEffectSlotStopSOFT),
DECL(alAuxiliaryEffectSlotStopvSOFT),
+
+ DECL(alSourcePlayAtTimeSOFT),
+ DECL(alSourcePlayAtTimevSOFT),
#ifdef ALSOFT_EAX
}, eaxFunctions[] = {
DECL(EAXGet),
diff --git a/alc/context.cpp b/alc/context.cpp
index 86c76aaa..a892bb6d 100644
--- a/alc/context.cpp
+++ b/alc/context.cpp
@@ -78,6 +78,7 @@ constexpr ALchar alExtList[] =
"AL_SOFT_source_length "
"AL_SOFT_source_resampler "
"AL_SOFT_source_spatialize "
+ "AL_SOFTX_source_start_delay "
"AL_SOFT_UHJ";
} // namespace
diff --git a/alc/inprogext.h b/alc/inprogext.h
index 9af80f12..5dfc22cb 100644
--- a/alc/inprogext.h
+++ b/alc/inprogext.h
@@ -54,6 +54,15 @@ AL_API void AL_APIENTRY alAuxiliaryEffectSlotStopvSOFT(ALsizei n, const ALuint *
#define AL_STOP_SOURCES_ON_DISCONNECT_SOFT 0x19AB
#endif
+#ifndef AL_SOFT_source_start_delay
+#define AL_SOFT_source_start_delay
+typedef void (AL_APIENTRY*LPALSOURCEPLAYATTIMESOFT)(ALuint source, ALint64SOFT start_time);
+typedef void (AL_APIENTRY*LPALSOURCEPLAYATTIMEVSOFT)(ALsizei n, const ALuint *sources, ALint64SOFT start_time);
+#ifdef AL_ALEXT_PROTOTYPES
+void AL_APIENTRY alSourcePlayAtTimeSOFT(ALuint source, ALint64SOFT start_time);
+void AL_APIENTRY alSourcePlayAtTimevSOFT(ALsizei n, const ALuint *sources, ALint64SOFT start_time);
+#endif
+#endif
/* Non-standard export. Not part of any extension. */
AL_API const ALchar* AL_APIENTRY alsoft_get_version(void);