aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-15 06:23:01 -0800
committerChris Robinson <[email protected]>2018-11-15 06:23:01 -0800
commit7b3a2085aac8eac47f9968f331d3991167793e85 (patch)
tree5566b15f7a90fe8e0fb2b280c4f8b83c80247f4f /OpenAL32/Include
parentab9f8162b84870161948ddd27d29483206dd4e57 (diff)
Use a regular char* for the device's name
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index b9ace4db..ee20d5be 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -634,7 +634,7 @@ struct ALCdevice_struct {
ALCenum LimiterState;
- al_string DeviceName;
+ char *DeviceName;
ATOMIC(ALCenum) LastError;
@@ -920,6 +920,8 @@ inline void UnlockEffectSlotList(ALCcontext *context)
int EventThread(void *arg);
+char *alstrdup(const char *str);
+
#ifdef __cplusplus
} // extern "C"