diff options
author | Chris Robinson <[email protected]> | 2023-03-31 04:55:30 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-03-31 04:55:30 -0700 |
commit | dfd8f11551e43470708c5b7ddf766abab4d5ac30 (patch) | |
tree | 9ceb2ed3d89dab7528d589d1ad7aafe27d348863 | |
parent | 3e4a2a151860c04fb0ebb971343a6f05e0c3c08a (diff) |
Finalize AL_SOFT_source_start_delay
-rw-r--r-- | alc/context.cpp | 2 | ||||
-rw-r--r-- | alc/inprogext.h | 10 | ||||
-rw-r--r-- | include/AL/alext.h | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/alc/context.cpp b/alc/context.cpp index 65689a5b..37607fd8 100644 --- a/alc/context.cpp +++ b/alc/context.cpp @@ -79,7 +79,7 @@ constexpr ALchar alExtList[] = "AL_SOFT_source_length " "AL_SOFT_source_resampler " "AL_SOFT_source_spatialize " - "AL_SOFTX_source_start_delay " + "AL_SOFT_source_start_delay " "AL_SOFT_UHJ " "AL_SOFT_UHJ_ex"; diff --git a/alc/inprogext.h b/alc/inprogext.h index 12196764..ccb9a4be 100644 --- a/alc/inprogext.h +++ b/alc/inprogext.h @@ -54,16 +54,6 @@ 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); diff --git a/include/AL/alext.h b/include/AL/alext.h index ae899315..6fe67be7 100644 --- a/include/AL/alext.h +++ b/include/AL/alext.h @@ -638,6 +638,16 @@ AL_API void AL_APIENTRY alGetBufferPtrvSOFT(ALuint buffer, ALenum param, ALvoid #define ALC_SURROUND_7_1_SOFT 0x1506 #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 + #ifdef __cplusplus } #endif |