aboutsummaryrefslogtreecommitdiffstats
path: root/al/auxeffectslot.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-08-11 02:10:26 -0700
committerChris Robinson <[email protected]>2023-08-11 02:10:26 -0700
commit09eff761b8c8a2da79b0083c86a304eb3643b396 (patch)
tree7408644f085ba7ccc6ca2f64d2f1959dbc4e1e08 /al/auxeffectslot.h
parent9296af5566afea4ba4cb78b374ef3ee0bf9bc04b (diff)
Add AL_EXT_debug functions to set/get object names
Diffstat (limited to 'al/auxeffectslot.h')
-rw-r--r--al/auxeffectslot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/al/auxeffectslot.h b/al/auxeffectslot.h
index 3e9a2a4e..9038647c 100644
--- a/al/auxeffectslot.h
+++ b/al/auxeffectslot.h
@@ -3,6 +3,7 @@
#include <atomic>
#include <cstddef>
+#include <string_view>
#include "AL/al.h"
#include "AL/alc.h"
@@ -76,6 +77,8 @@ struct ALeffectslot {
ALenum initEffect(ALenum effectType, const EffectProps &effectProps, ALCcontext *context);
void updateProps(ALCcontext *context);
+ static void SetName(ALCcontext *context, ALuint id, std::string_view name);
+
/* This can be new'd for the context's default effect slot. */
DEF_NEWDEL(ALeffectslot)