aboutsummaryrefslogtreecommitdiffstats
path: root/alc/device.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 /alc/device.h
parent9296af5566afea4ba4cb78b374ef3ee0bf9bc04b (diff)
Add AL_EXT_debug functions to set/get object names
Diffstat (limited to 'alc/device.h')
-rw-r--r--alc/device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/alc/device.h b/alc/device.h
index c346dc9e..66f37a7e 100644
--- a/alc/device.h
+++ b/alc/device.h
@@ -7,6 +7,7 @@
#include <optional>
#include <stdint.h>
#include <string>
+#include <unordered_map>
#include <utility>
#include <vector>
@@ -133,6 +134,10 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice>, DeviceBase {
#endif // ALSOFT_EAX
+ std::unordered_map<ALuint,std::string> mBufferNames;
+ std::unordered_map<ALuint,std::string> mEffectNames;
+ std::unordered_map<ALuint,std::string> mFilterNames;
+
ALCdevice(DeviceType type);
~ALCdevice();