aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALc.c2
-rw-r--r--OpenAL32/Include/alMain.h15
-rw-r--r--examples/alffplay.cpp5
-rw-r--r--include/AL/alext.h15
4 files changed, 17 insertions, 20 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index dfebe02e..71db5e0f 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -778,7 +778,7 @@ static const ALCchar alcNoDeviceExtList[] =
static const ALCchar alcExtensionList[] =
"ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE "
"ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX "
- "ALC_EXT_thread_local_context ALC_SOFTX_device_clock ALC_SOFT_HRTF "
+ "ALC_EXT_thread_local_context ALC_SOFT_device_clock ALC_SOFT_HRTF "
"ALC_SOFT_loopback ALC_SOFT_output_limiter ALC_SOFT_pause_device";
static const ALCint alcMajorVersion = 1;
static const ALCint alcMinorVersion = 1;
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 7e954f0d..4f6d0b49 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -47,21 +47,6 @@
#define ALC_N3D_SOFT 0xfff7
#endif
-#ifndef ALC_SOFT_device_clock
-#define ALC_SOFT_device_clock 1
-typedef int64_t ALCint64SOFT;
-typedef uint64_t ALCuint64SOFT;
-#define ALC_DEVICE_CLOCK_SOFT 0x1600
-#define ALC_DEVICE_LATENCY_SOFT 0x1601
-#define ALC_DEVICE_CLOCK_LATENCY_SOFT 0x1602
-#define AL_SAMPLE_OFFSET_CLOCK_SOFT 0x1202
-#define AL_SEC_OFFSET_CLOCK_SOFT 0x1203
-typedef void (ALC_APIENTRY*LPALCGETINTEGER64VSOFT)(ALCdevice *device, ALCenum pname, ALsizei size, ALCint64SOFT *values);
-#ifdef AL_ALEXT_PROTOTYPES
-ALC_API void ALC_APIENTRY alcGetInteger64vSOFT(ALCdevice *device, ALCenum pname, ALsizei size, ALCint64SOFT *values);
-#endif
-#endif
-
#ifndef AL_SOFT_buffer_samples2
#define AL_SOFT_buffer_samples2 1
/* Channel configurations */
diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp
index acd2e149..b57de5e4 100644
--- a/examples/alffplay.cpp
+++ b/examples/alffplay.cpp
@@ -1589,10 +1589,7 @@ int main(int argc, char *argv[])
name = alcGetString(device, ALC_DEVICE_SPECIFIER);
std::cout<< "Opened \""<<name<<"\"" <<std::endl;
- /* WARNING: ALC_SOFT_device_clock is still subject to change. It's fine to
- * play around with and test out, but avoid in production code.
- */
- if(alcIsExtensionPresent(device, "ALC_SOFTX_device_clock"))
+ if(alcIsExtensionPresent(device, "ALC_SOFT_device_clock"))
{
std::cout<< "Found ALC_SOFT_device_clock" <<std::endl;
alcGetInteger64vSOFT = reinterpret_cast<LPALCGETINTEGER64VSOFT>(
diff --git a/include/AL/alext.h b/include/AL/alext.h
index 4b9a1553..1a76397b 100644
--- a/include/AL/alext.h
+++ b/include/AL/alext.h
@@ -459,6 +459,21 @@ AL_API const ALchar* AL_APIENTRY alGetStringiSOFT(ALenum pname, ALsizei index);
#define ALC_OUTPUT_LIMITER_SOFT 0x199A
#endif
+#ifndef ALC_SOFT_device_clock
+#define ALC_SOFT_device_clock 1
+typedef int64_t ALCint64SOFT;
+typedef uint64_t ALCuint64SOFT;
+#define ALC_DEVICE_CLOCK_SOFT 0x1600
+#define ALC_DEVICE_LATENCY_SOFT 0x1601
+#define ALC_DEVICE_CLOCK_LATENCY_SOFT 0x1602
+#define AL_SAMPLE_OFFSET_CLOCK_SOFT 0x1202
+#define AL_SEC_OFFSET_CLOCK_SOFT 0x1203
+typedef void (ALC_APIENTRY*LPALCGETINTEGER64VSOFT)(ALCdevice *device, ALCenum pname, ALsizei size, ALCint64SOFT *values);
+#ifdef AL_ALEXT_PROTOTYPES
+ALC_API void ALC_APIENTRY alcGetInteger64vSOFT(ALCdevice *device, ALCenum pname, ALsizei size, ALCint64SOFT *values);
+#endif
+#endif
+
#ifdef __cplusplus
}
#endif