aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-24 15:52:37 -0800
committerChris Robinson <[email protected]>2018-12-24 15:52:37 -0800
commit194e7ff815d744830c8aaedfb0d32ed3c3d01645 (patch)
tree525e8a90f7f0a1c9266b1a87fec0c04a74d61889 /Alc
parentbbf9e6931cf607da49bb5a541e86f9760ea68047 (diff)
Add an in-progress extension to set the effect slot target
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alc.cpp1
-rw-r--r--Alc/inprogext.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/Alc/alc.cpp b/Alc/alc.cpp
index c225eaf2..bde9aa79 100644
--- a/Alc/alc.cpp
+++ b/Alc/alc.cpp
@@ -786,6 +786,7 @@ constexpr ALchar alExtList[] =
"AL_SOFT_block_alignment "
"AL_SOFT_deferred_updates "
"AL_SOFT_direct_channels "
+ "AL_SOFTX_effect_chain "
"AL_SOFTX_events "
"AL_SOFTX_filter_gain_ex "
"AL_SOFT_gain_clamp_ex "
diff --git a/Alc/inprogext.h b/Alc/inprogext.h
index 3025abe2..6921de8c 100644
--- a/Alc/inprogext.h
+++ b/Alc/inprogext.h
@@ -80,6 +80,11 @@ AL_API void AL_APIENTRY alSourceQueueBufferLayersSOFT(ALuint src, ALsizei nb, co
#endif
#endif
+#ifndef AL_SOFT_effect_chain
+#define AL_SOFT_effect_chain
+#define AL_EFFECTSLOT_TARGET_SOFT 0xf000
+#endif
+
#ifdef __cplusplus
} /* extern "C" */
#endif