From 7b3a2085aac8eac47f9968f331d3991167793e85 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 15 Nov 2018 06:23:01 -0800 Subject: Use a regular char* for the device's name --- OpenAL32/Include/alMain.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenAL32/Include') 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" -- cgit v1.2.3